Mercurial > hg
diff mcabber/src/hooks.c @ 1426:a64778f5f26b
Implement FIFO named command pipe
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 18 Feb 2008 22:59:37 +0100 |
parents | b0cfd9ab4b9f |
children | 3bf11085c6a5 |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Sun Feb 17 21:19:58 2008 +0100 +++ b/mcabber/src/hooks.c Mon Feb 18 22:59:37 2008 +0100 @@ -33,6 +33,10 @@ #include "utf8.h" #include "commands.h" +#ifdef ENABLE_FIFO +# include "fifo.h" +#endif + static char *extcmd; static const char *COMMAND_ME = "/me "; @@ -50,6 +54,9 @@ last = now; } */ +#ifdef ENABLE_FIFO + fifo_read(); +#endif } void hk_message_in(const char *bjid, const char *resname,