From 52663546cc019ebdf4a7d56f1425408e20e1d4cb Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Thu, 10 Jun 2010 17:39:17 +0100 Subject: Fixed extremely stupid NULLptr dereference. --- root_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'root_commands.c') diff --git a/root_commands.c b/root_commands.c index f6f95599..10ce68e1 100644 --- a/root_commands.c +++ b/root_commands.c @@ -571,7 +571,7 @@ static void cmd_channel( irc_t *irc, char **cmd ) else irc_usermsg( irc, "Couldn't remove channel (main channel %s or " "channels you're still in cannot be deleted).", - ic->irc->default_channel->name ); + irc->default_channel->name ); } else { -- cgit v1.2.3