cache->settings = settings;
cache->warn = warn;
cache->punish = punish;
- get_userauth(user, neonspam_event_chanmsg_nick_lookup, cache);
+ get_userauth(user, module_id, neonspam_event_chanmsg_nick_lookup, cache);
}
}
char banidBuf[20];
sprintf(nameBuf, "ban_%d", banid);
sprintf(banidBuf, "%d", banid);
- timeq_add_name(nameBuf, punish_time, channel_ban_timeout, strdup(banidBuf));
+ timeq_add_name(nameBuf, punish_time, module_id, channel_ban_timeout, strdup(banidBuf));
}
case 2: //KICKBAN
if(!banmask)