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