diff options
Diffstat (limited to 'src/fe-common/irc/fe-channels.c')
-rw-r--r-- | src/fe-common/irc/fe-channels.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-channels.c b/src/fe-common/irc/fe-channels.c index 6403412a..272f954c 100644 --- a/src/fe-common/irc/fe-channels.c +++ b/src/fe-common/irc/fe-channels.c @@ -87,7 +87,8 @@ static void sig_disconnected(IRC_SERVER_REC *server) static void signal_window_item_changed(WINDOW_REC *window, WI_ITEM_REC *item) { - g_return_if_fail(item != NULL); + g_return_if_fail(window != NULL); + if (item == NULL) return; if (g_slist_length(window->items) > 1 && irc_item_channel(item)) { printformat(item->server, item->name, MSGLEVEL_CLIENTNOTICE, |