X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2FNeonSpam.mod%2Fevent_neonspam_chanmsg.c;h=114ab0f73363e61688c7680e8dbf434d06ba4e5d;hp=163315db30fd03e13c096403d1b3fab85faa9b29;hb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;hpb=8a990d2c87f8f8a6ca26dd2c6afef161dab2eb9e diff --git a/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c b/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c index 163315d..114ab0f 100644 --- a/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c +++ b/src/modules/NeonSpam.mod/event_neonspam_chanmsg.c @@ -144,7 +144,7 @@ static void neonspam_event_chanmsg(struct UserNode *user, struct ChanNode *chan, 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); } } @@ -248,7 +248,7 @@ static void neonspam_event_chanmsg_punish(struct ClientSocket *client, struct Ch 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)