summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-19 12:19:44 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-19 12:19:44 +0000
commit073c895a7b3336583321d1190530c555d1da39bb (patch)
tree041b5ecbfe385d5a5032ede981801a97949fae5f
parentd72f3bf8db10c270b6dfe0ba220f7b1b5224223a (diff)
downloadirssi-073c895a7b3336583321d1190530c555d1da39bb.zip
"/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
-rw-r--r--src/fe-common/irc/notifylist/fe-notifylist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/notifylist/fe-notifylist.c b/src/fe-common/irc/notifylist/fe-notifylist.c
index 0efd1869..e96cc6d9 100644
--- a/src/fe-common/irc/notifylist/fe-notifylist.c
+++ b/src/fe-common/irc/notifylist/fe-notifylist.c
@@ -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();
}