cache->channel = strdup(channel);
cache->multibot = multibot;
cache->botname = (botname ? strdup(botname) : NULL);
- lookup_authname(argv[1], global_cmd_register_auth_lookup, cache);
+ lookup_authname(argv[1], module_id, global_cmd_register_auth_lookup, cache);
}
} else {
struct UserNode *cuser = getUserByNick(argv[1]);
cache->channel = strdup(channel);
cache->multibot = multibot;
cache->botname = (botname ? strdup(botname) : NULL);
- get_userauth(cuser, global_cmd_register_nick_lookup, cache);
+ get_userauth(cuser, module_id, global_cmd_register_nick_lookup, cache);
}
}
}