From f7ca5877b69d452ef2e2ab4dc4d06743072deca0 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 29 Jul 2010 20:18:54 +0200 Subject: Restore default_target setting, kill last_root_cmd variable and just use the last_channel variable, like for any other user. --- irc_user.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'irc_user.c') 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 ); -- cgit v1.2.3