aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--root_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/root_commands.c b/root_commands.c
index 3097dc81..64dc71b9 100644
--- a/root_commands.c
+++ b/root_commands.c
@@ -572,7 +572,7 @@ static void cmd_remove( irc_t *irc, char **cmd )
u->gc->acc->prpl->remove_buddy( u->gc, u->handle, NULL );
user_del( irc, cmd[1] );
- nick_del( u->gc->acc, u->handle );
+ nick_del( u->gc->acc, s );
irc_usermsg( irc, "Buddy `%s' (nick %s) removed from contact list", s, cmd[1] );
g_free( s );