cache->chan = chan;
cache->event = event;
cache->nick = strdup(argv[0]);
- get_userauth(cuser, neonserv_cmd_invite_nick_lookup, cache);
+ get_userauth(cuser, module_id, neonserv_cmd_invite_nick_lookup, cache);
}
}
}
}
struct neonserv_cmd_invite_timeout *timeout = neonserv_cmd_invite_add_timeout(nick, chan->name);
- timeq_add(INVITE_TIMEOUT, neonserv_cmd_invite_timeout_timeout, timeout);
+ timeq_add(INVITE_TIMEOUT, module_id, neonserv_cmd_invite_timeout_timeout, timeout);
putsock(client, "INVITE %s %s", nick, chan->name);
struct UserNode *tmpu = getUserByNick(nick);
if(!tmpu) {