Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/hooks.c @ 1796:5e2db25fdb17
Rename "hook-message-in" to "hook-post-message-in"
Rename "hook-message-in" to "hook-post-message-in"
and HOOK_MESSAGE_IN to HOOK_POST_MESSAGE_IN
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 20 Mar 2010 14:50:37 +0100 |
parents | 47699a09ceb3 |
children | 246c5d359c97 |
comparison
equal
deleted
inserted
replaced
1795:47699a09ceb3 | 1796:5e2db25fdb17 |
---|---|
345 { "message", wmsg }, | 345 { "message", wmsg }, |
346 { "groupchat", is_groupchat ? "true" : "false" }, | 346 { "groupchat", is_groupchat ? "true" : "false" }, |
347 { "urgent", urgent ? "true" : "false" }, | 347 { "urgent", urgent ? "true" : "false" }, |
348 { NULL, NULL }, | 348 { NULL, NULL }, |
349 }; | 349 }; |
350 hk_run_handlers(HOOK_MESSAGE_IN, args); | 350 hk_run_handlers(HOOK_POST_MESSAGE_IN, args); |
351 // TODO: check (and use) return value | 351 // TODO: check (and use) return value |
352 } | 352 } |
353 #endif | 353 #endif |
354 | 354 |
355 // External command | 355 // External command |