-/* cmd_neonserv_invite.c - NeonServ v5.3
+/* cmd_neonserv_invite.c - NeonServ v5.4
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
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) {