X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2FNeonSpam.mod%2Fevent_neonspam_join.c;h=490384990f6dd9f25b569cb2f4733c711f027dd5;hp=5a169f207487c0c702e3752363704a14da9750d4;hb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;hpb=8a990d2c87f8f8a6ca26dd2c6afef161dab2eb9e diff --git a/src/modules/NeonSpam.mod/event_neonspam_join.c b/src/modules/NeonSpam.mod/event_neonspam_join.c index 5a169f2..4903849 100644 --- a/src/modules/NeonSpam.mod/event_neonspam_join.c +++ b/src/modules/NeonSpam.mod/event_neonspam_join.c @@ -54,7 +54,7 @@ static void neonspam_event_join(struct ChanUser *chanuser) { cache->chanuser = chanuser; cache->settings = settings; cache->action = result; - get_userauth(chanuser->user, neonspam_event_join_nick_lookup, cache); + get_userauth(chanuser->user, module_id, neonspam_event_join_nick_lookup, cache); } } } @@ -102,7 +102,7 @@ static void neonspam_event_join_punish(struct ClientSocket *client, struct ChanU char banidBuf[20]; sprintf(nameBuf, "ban_%d", banid); sprintf(banidBuf, "%d", banid); - timeq_add_name(nameBuf, duration, channel_ban_timeout, strdup(banidBuf)); + timeq_add_name(nameBuf, duration, module_id, channel_ban_timeout, strdup(banidBuf)); } case 1: //KICKBAN if(!banmask)