aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-10 17:39:17 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-10 17:39:17 +0100
commit52663546cc019ebdf4a7d56f1425408e20e1d4cb (patch)
treeccd404292dab9c81a53e7751f3ae47e0e783bf2c /root_commands.c
parent95c3ea9002af8f59a580f887b59413a0b924e1fc (diff)
Fixed extremely stupid NULLptr dereference.
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 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
{