summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-expandos.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-14 09:48:30 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-14 09:48:30 +0000
commit3e3f9ac2235e7afd562f7a7007e1f626686b8802 (patch)
tree2219cb38d14a525817545e37f91362120fee047d /src/irc/core/irc-expandos.c
parent80dd9a15ca66ac340426bc256d8d778baefd19bd (diff)
downloadirssi-3e3f9ac2235e7afd562f7a7007e1f626686b8802.zip
$usermode's "user mode changed" signal had wrong argument check (server vs.
window) so it didn't really detect mode changes. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1826 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-expandos.c')
-rw-r--r--src/irc/core/irc-expandos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/irc-expandos.c b/src/irc/core/irc-expandos.c
index 22902bef..ccd64324 100644
--- a/src/irc/core/irc-expandos.c
+++ b/src/irc/core/irc-expandos.c
@@ -122,7 +122,7 @@ void irc_expandos_init(void)
expando_create("usermode", expando_usermode,
"window changed", EXPANDO_ARG_NONE,
"window server changed", EXPANDO_ARG_WINDOW,
- "user mode changed", EXPANDO_ARG_WINDOW, NULL);
+ "user mode changed", EXPANDO_ARG_SERVER, NULL);
expando_create("cumode", expando_cumode,
"window changed", EXPANDO_ARG_NONE,
"window item changed", EXPANDO_ARG_WINDOW,