register this new command in modcmd
[NeonServV5.git] / cmd_neonserv_adduser.c
index 13ff1b8230ecb7f5e8ce91de20fad14d84586b1a..5d3983e35e4a463de0e21f048702bd529258487b 100644 (file)
@@ -97,5 +97,5 @@ static USERAUTH_CALLBACK(neonserv_cmd_adduser_nick_lookup) {
 
 static void neonserv_cmd_adduser_async1(struct ClientSocket *client, struct ClientSocket *textclient, struct UserNode *user, struct ChanNode *chan, char *nick, char *auth, int access) {
     //we've got a valid auth now...
-    putsock(client, "PRIVMSG %s :%s: %s", chan->name, nick, auth);
+    putsock(client, "PRIVMSG %s :%s: %s   %d", chan->name, nick, auth, access);
 }