X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fevent_neonserv_notice.c;h=d8bb5b933faddde5206f8763f275e26d716ac9a0;hb=78e040af3fcc36ab684611c0f98b4381ff420878;hp=84fb51a25084da0394b3c8fc608b3d253f4cf213;hpb=706e48b1e666054030c491d864f740071e390038;p=NeonServV5.git diff --git a/src/modules/NeonServ.mod/event_neonserv_notice.c b/src/modules/NeonServ.mod/event_neonserv_notice.c index 84fb51a..d8bb5b9 100644 --- a/src/modules/NeonServ.mod/event_neonserv_notice.c +++ b/src/modules/NeonServ.mod/event_neonserv_notice.c @@ -1,4 +1,4 @@ -/* event_neonserv_notice.c - NeonServ v5.3 +/* event_neonserv_notice.c - NeonServ v5.5 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -41,7 +41,7 @@ static void neonserv_event_channotice(struct UserNode *user, struct ChanNode *ch cache->user = user; cache->chan = chan; cache->message = strdup(message); - get_userauth(user, neonserv_event_notice_nick_lookup, cache); + get_userauth(user, module_id, neonserv_event_notice_nick_lookup, cache); } else neonserv_event_notice_async1(client, user, chan, message); } @@ -93,7 +93,7 @@ static void neonserv_event_notice_async1(struct ClientSocket *client, struct Use 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) banmask = generate_banmask(user, banmaskBuf);