projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
727b8a5
)
fixed small (null) output issue in cmd_access
author
pk910
<philipp@zoelle1.de>
Thu, 12 Jan 2012 13:45:13 +0000
(14:45 +0100)
committer
pk910
<philipp@zoelle1.de>
Thu, 12 Jan 2012 13:45:13 +0000
(14:45 +0100)
src/cmd_neonserv_access.c
patch
|
blob
|
history
diff --git
a/src/cmd_neonserv_access.c
b/src/cmd_neonserv_access.c
index d036bf8bceb69251e6174c6c055bd52f4c1853b1..25b2501c96b6008f34424a8a60fe9602e2fa287d 100644
(file)
--- a/
src/cmd_neonserv_access.c
+++ b/
src/cmd_neonserv_access.c
@@
-133,7
+133,7
@@
static void neonserv_cmd_access_async1(struct ClientSocket *client, struct Clien
else
reply(textclient, user, "NS_A_LACKS_ACCESS_BUT_GOD_NICK", auth, chan->name);
} else
else
reply(textclient, user, "NS_A_LACKS_ACCESS_BUT_GOD_NICK", auth, 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);
} else
reply(textclient, user, "NS_NOT_ON_USERLIST", (nick ? nick : auth), chan->name);
if(target && (target->flags & USERFLAG_ISIRCOP))
} else
reply(textclient, user, "NS_NOT_ON_USERLIST", (nick ? nick : auth), chan->name);
if(target && (target->flags & USERFLAG_ISIRCOP))