cache->reason = strdup(merge_argv(argv, 2, argc));
} else
cache->reason = NULL;
- get_userlist(chan, neonserv_cmd_addtimeban_userlist_lookup, cache);
+ get_userlist(chan, module_id, neonserv_cmd_addtimeban_userlist_lookup, cache);
}
static USERLIST_CALLBACK(neonserv_cmd_addtimeban_userlist_lookup) {
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));
reply(textclient, user, "NS_TIMEBAN_DONE", mask, chan->name, timeToStr(user, duration, 2, nameBuf), match_count);
logEvent(event);
}