1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle)

This commit is contained in:
Sebastien Helleu
2014-02-14 18:35:29 +01:00
parent f52770137f
commit 8e63a9a52f
6 changed files with 102 additions and 40 deletions
+2
View File
@@ -27,6 +27,8 @@
pointers = NULL; \
extra_vars = NULL; \
(void) trigger_rc; \
if (!trigger_enabled) \
return __rc; \
trigger = (struct t_trigger *)data; \
if (!trigger || trigger->hook_running) \
return __rc; \