aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/irc_user.c b/irc_user.c
index 8db1de28..8b290bbf 100644
--- a/irc_user.c
+++ b/irc_user.c
@@ -221,9 +221,6 @@ static gboolean root_privmsg( irc_user_t *iu, const char *msg )
{
char cmd[strlen(msg)+1];
- g_free( iu->irc->last_root_cmd );
- iu->irc->last_root_cmd = g_strdup( iu->nick );
-
strcpy( cmd, msg );
root_command_string( iu->irc, cmd );