X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules%2Fglobal.mod%2Fcmd_global_register.c;h=d6ec183bcddb64d7488de60e0904e034f6a24af7;hp=548860d65053f350ae753bba69bdc182d48d478a;hb=902ebfe5551be2daa3edf8141bcee91f62c0a5e0;hpb=8a990d2c87f8f8a6ca26dd2c6afef161dab2eb9e diff --git a/src/modules/global.mod/cmd_global_register.c b/src/modules/global.mod/cmd_global_register.c index 548860d..d6ec183 100644 --- a/src/modules/global.mod/cmd_global_register.c +++ b/src/modules/global.mod/cmd_global_register.c @@ -108,7 +108,7 @@ CMD_BIND(global_cmd_register) { 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]); @@ -137,7 +137,7 @@ CMD_BIND(global_cmd_register) { 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); } } }