diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-29 20:18:54 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-07-29 20:18:54 +0200 |
commit | f7ca5877b69d452ef2e2ab4dc4d06743072deca0 (patch) | |
tree | 6ce785e43326ef0b638105eaf4ccc2b1760bfc43 /irc_user.c | |
parent | 2fe5eb939ff77697b578bf45ba23cd99daee9c5f (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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 ); |