void (*func)(struct W3 * w3, char* on, char* message) = (void (*)(struct W3 * w3, char* from, char* message)) funcptr;
func(w3, username[0] == '#' ? username : prefix, content);
}
+ funcptr = __W3_Get_Event(w3, "message2");
+ if(funcptr != NULL) {
+ void (*func)(struct W3 * w3, char* username, char* prefix, char* message) = (void (*)(struct W3 * w3, char* username, char* prefix, char* message)) funcptr;
+ func(w3, username, prefix, content);
+ }
}
} else if(strcasecmp(command, "PING") == 0) {
__W3_Auto_Write(w3, "PONG ", 5);
extern "C" {
#endif
-#define LIBW3_VERSION "2.19A" \
+#define LIBW3_VERSION "2.20" \
SUFFIX
ifdef(`HTTP_SUPPORT', `#define LIBW3_HTTP_SUPPORT', `')