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