-/* cmd_neonserv_assignrank.c - NeonServ v5.3
+/* cmd_neonserv_assignrank.c - NeonServ v5.4
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
cache->event = event;
cache->rank_id = rank_id;
cache->nick = strdup(argv[0]);
- lookup_authname(argv[0], neonserv_cmd_assignrank_auth_lookup, cache);
+ lookup_authname(argv[0], module_id, neonserv_cmd_assignrank_auth_lookup, cache);
}
} else {
struct UserNode *cuser = getUserByNick(argv[0]);
cache->event = event;
cache->rank_id = rank_id;
cache->nick = strdup(argv[0]);
- get_userauth(cuser, neonserv_cmd_assignrank_nick_lookup, cache);
+ get_userauth(cuser, module_id, neonserv_cmd_assignrank_nick_lookup, cache);
}
}
}