mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
$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
This commit is contained in:
parent
80dd9a15ca
commit
3e3f9ac223
@ -122,7 +122,7 @@ void irc_expandos_init(void)
|
|||||||
expando_create("usermode", expando_usermode,
|
expando_create("usermode", expando_usermode,
|
||||||
"window changed", EXPANDO_ARG_NONE,
|
"window changed", EXPANDO_ARG_NONE,
|
||||||
"window server changed", EXPANDO_ARG_WINDOW,
|
"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,
|
expando_create("cumode", expando_cumode,
|
||||||
"window changed", EXPANDO_ARG_NONE,
|
"window changed", EXPANDO_ARG_NONE,
|
||||||
"window item changed", EXPANDO_ARG_WINDOW,
|
"window item changed", EXPANDO_ARG_WINDOW,
|
||||||
|
Loading…
Reference in New Issue
Block a user