diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-10 17:39:17 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-10 17:39:17 +0100 |
commit | 52663546cc019ebdf4a7d56f1425408e20e1d4cb (patch) | |
tree | ccd404292dab9c81a53e7751f3ae47e0e783bf2c /root_commands.c | |
parent | 95c3ea9002af8f59a580f887b59413a0b924e1fc (diff) |
Fixed extremely stupid NULLptr dereference.
Diffstat (limited to 'root_commands.c')
-rw-r--r-- | root_commands.c | 2 |
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 { |