X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2FNeonServ.mod%2Fevent_neonserv_ctcp.c;h=f9d9de3a776f4d8f11ba842e88edd664929edbda;hp=11d03e25ae99285247b454daf3c8b14b45b93d8f;hb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;hpb=8a990d2c87f8f8a6ca26dd2c6afef161dab2eb9e diff --git a/src/modules/NeonServ.mod/event_neonserv_ctcp.c b/src/modules/NeonServ.mod/event_neonserv_ctcp.c index 11d03e2..f9d9de3 100644 --- a/src/modules/NeonServ.mod/event_neonserv_ctcp.c +++ b/src/modules/NeonServ.mod/event_neonserv_ctcp.c @@ -44,7 +44,7 @@ static void neonserv_event_chanctcp(struct UserNode *user, struct ChanNode *chan cache->chan = chan; cache->command = strdup(command); cache->text = (text ? strdup(text) : NULL); - get_userauth(user, neonserv_event_ctcp_nick_lookup, cache); + get_userauth(user, module_id, neonserv_event_ctcp_nick_lookup, cache); } else neonserv_event_ctcp_async1(client, user, chan, command, text); } @@ -98,7 +98,7 @@ static void neonserv_event_ctcp_async1(struct ClientSocket *client, struct UserN 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);