comparison mcabber/src/hooks.c @ 1658:c3d0cb4dc9d4

Remove hk_mainloop()
author Mikael Berthe <mikael@lilotux.net>
date Sat, 05 Dec 2009 19:06:47 +0100
parents fca9a4c17432
children
comparison
equal deleted inserted replaced
1657:c4ee6d99f75b 1658:c3d0cb4dc9d4
76 #endif 76 #endif
77 77
78 static char *extcmd; 78 static char *extcmd;
79 79
80 static const char *COMMAND_ME = "/me "; 80 static const char *COMMAND_ME = "/me ";
81
82 void hk_mainloop(void)
83 {
84 /*
85 static time_t last;
86 time_t now;
87
88 time(&now);
89
90 if (now > last + 1) {
91 // custom_hook();
92 last = now;
93 }
94 */
95 }
96 81
97 void hk_message_in(const char *bjid, const char *resname, 82 void hk_message_in(const char *bjid, const char *resname,
98 time_t timestamp, const char *msg, LmMessageSubType type, 83 time_t timestamp, const char *msg, LmMessageSubType type,
99 guint encrypted) 84 guint encrypted)
100 { 85 {