aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-29 20:18:54 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-29 20:18:54 +0200
commitf7ca5877b69d452ef2e2ab4dc4d06743072deca0 (patch)
tree6ce785e43326ef0b638105eaf4ccc2b1760bfc43 /irc_user.c
parent2fe5eb939ff77697b578bf45ba23cd99daee9c5f (diff)
Restore default_target setting, kill last_root_cmd variable and just use
the last_channel variable, like for any other user.
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 );