mirror of
https://github.com/weechat/weechat.git
synced 2026-07-10 19:53:13 +02:00
api: allow to catch multiple signals in functions hook_signal and hook_hsignal (closes #1780)
This commit is contained in:
+3
-5
@@ -82,11 +82,9 @@ gui_chat_init ()
|
||||
}
|
||||
|
||||
/* some hsignals */
|
||||
hook_hsignal (NULL, "chat_quote_time_prefix_message",
|
||||
&gui_chat_hsignal_quote_line_cb, NULL, NULL);
|
||||
hook_hsignal (NULL, "chat_quote_prefix_message",
|
||||
&gui_chat_hsignal_quote_line_cb, NULL, NULL);
|
||||
hook_hsignal (NULL, "chat_quote_message",
|
||||
hook_hsignal (NULL,
|
||||
"chat_quote_time_prefix_message;chat_quote_prefix_message;"
|
||||
"chat_quote_message",
|
||||
&gui_chat_hsignal_quote_line_cb, NULL, NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user