aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'root_commands.c')
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index e0cd15b9..116f1d06 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -571,8 +571,8 @@ static void cmd_remove( irc_t *irc, char **cmd )
s = g_strdup( u->handle );
u->gc->acc->prpl->remove_buddy( u->gc, u->handle, NULL );
+ nick_del( u->gc->acc, u->handle );
user_del( irc, cmd[1] );
- nick_del( u->gc->acc, s );
irc_usermsg( irc, "Buddy `%s' (nick %s) removed from contact list", s, cmd[1] );
g_free( s );