X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fcmd_neonserv_access.c;h=7636c79a98ab5655e106fa76d52bb55297098354;hb=bb5692b9cbff069abbf9573c81e86c3cd2061ceb;hp=468d85cbedf7261d839084f0b21f62b2ed7db16c;hpb=2d9db1adb1946aba00b203f40eff7d5db8163f01;p=NeonServV5.git diff --git a/src/cmd_neonserv_access.c b/src/cmd_neonserv_access.c index 468d85c..7636c79 100644 --- a/src/cmd_neonserv_access.c +++ b/src/cmd_neonserv_access.c @@ -1,5 +1,5 @@ -/* cmd_neonserv_access.c - NeonServ v5.1 - * 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); }