*** VERSION 5.3.0 ***
[NeonServV5.git] / src / cmd_neonserv_access.c
index 468d85cbedf7261d839084f0b21f62b2ed7db16c..2b2e670f3fa85ecd01e9ab8170cf895f0710757e 100644 (file)
@@ -1,4 +1,4 @@
-/* cmd_neonserv_access.c - NeonServ v5.1
+/* cmd_neonserv_access.c - NeonServ v5.3
  * Copyright (C) 2011  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
@@ -131,7 +131,7 @@ static void neonserv_cmd_access_async1(struct ClientSocket *client, struct Clien
         } else
             reply(textclient, user, "NS_NOT_ON_USERLIST", nick, chan->name);
     } else
-        reply(textclient, user, "NS_NOT_ON_USERLIST", nick, chan->name);
+        reply(textclient, user, "NS_NOT_ON_USERLIST", (nick ? nick : auth), chan->name);
     if(target && (target->flags & USERFLAG_ISIRCOP))
         reply(textclient, user, "NS_A_IS_IRCOP", nick);
 }