projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb23ac3
)
fixed cmd_access: do not use nick for NS_NOT_ON_USERLIST reply -> could be NULL
author
pk910
<philipp@zoelle1.de>
Tue, 20 Dec 2011 22:27:37 +0000
(23:27 +0100)
committer
pk910
<philipp@zoelle1.de>
Tue, 20 Dec 2011 22:27:37 +0000
(23:27 +0100)
src/cmd_neonserv_access.c
patch
|
blob
|
history
diff --git
a/src/cmd_neonserv_access.c
b/src/cmd_neonserv_access.c
index 7d253993602cff9ebbec29ea7e5122a52c98c64c..5f76d7975ad8808b9f2181420c6753e2c60b0a56 100644
(file)
--- a/
src/cmd_neonserv_access.c
+++ b/
src/cmd_neonserv_access.c
@@
-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);
}