diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-02-19 11:17:14 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-02-19 11:17:14 +0000 |
commit | e0c97562a596bcfde406fb26dbc8f9d5f0cde111 (patch) | |
tree | 596fd7c0c5c940732c1118eb407708853ca2a0c6 /src/plugins | |
parent | 3a213f38eca02f158169afd2f140050930f5cdc3 (diff) | |
download | weechat-e0c97562a596bcfde406fb26dbc8f9d5f0cde111.zip |
Fixed bug in /lua command for timer handlers
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 311c0a012..bd85daf68 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -1644,7 +1644,7 @@ weechat_lua_cmd (t_weechat_plugin *plugin, for (ptr_handler = plugin->handlers; ptr_handler; ptr_handler = ptr_handler->next_handler) { - if ((ptr_handler->type == HANDLER_MESSAGE) + if ((ptr_handler->type == HANDLER_TIMER) && (ptr_handler->handler_args)) { handler_found = 1; |