"/notify -list " (happened easily when using tab completion) didn't work

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@492 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-19 12:19:44 +00:00 committed by cras
commit 073c895a7b

View file

@ -168,7 +168,7 @@ static void cmd_notify(const char *data)
signal_stop();
}
if (g_strcasecmp(data, "-list") == 0) {
if (g_strncasecmp(data, "-list", 4) == 0) {
cmd_notifylist_show();
signal_stop();
}