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);
}
}
}