bind_unbound_required_functions(BOTID);
}
-static void neonfun_parted(struct ChanUser *chanuser, char *reason) {
+static void neonfun_parted(struct ChanUser *chanuser, int quit, char *reason) {
uno_event_part(chanuser);
fourwins_event_part(chanuser);
}
-static void neonfun_quitted(struct UserNode *user, char *reason) {
- uno_event_quit(user);
- fourwins_event_quit(user);
-}
-
static int neonfun_freechan(struct ChanNode *chan) {
uno_event_freechan(chan);
fourwins_event_freechan(chan);
//register events
bind_bot_ready(neonfun_bot_ready, module_id);
bind_part(neonfun_parted, module_id);
- bind_quit(neonfun_quitted, module_id);
bind_freechan(neonfun_freechan, module_id);
bind_invite(neonfun_event_invite, module_id);