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);
}
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);