Another year is about to end... So we have to update these damn copyright information :P
[NeonServV5.git] / src / cmd_neonserv_access.c
index 7f343830ddd71f48af575e8749c56b7782f73e23..7636c79a98ab5655e106fa76d52bb55297098354 100644 (file)
@@ -1,5 +1,5 @@
-/* cmd_neonserv_access.c - NeonServ v5.0
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* cmd_neonserv_access.c - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -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);
 }