projects
/
ircu2.10.12-pk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfd1ba1
)
fixed missing ENDOFNAMES reply (non-member performs /names #chan with #chan having...
author
pk910
<philipp@zoelle1.de>
Sat, 14 Apr 2012 14:08:24 +0000
(16:08 +0200)
committer
pk910
<philipp@zoelle1.de>
Sat, 14 Apr 2012 14:08:24 +0000
(16:08 +0200)
ircd/m_names.c
patch
|
blob
|
history
diff --git
a/ircd/m_names.c
b/ircd/m_names.c
index 9e67b325a3191c175e33608992a06d599da6eb5b..1951922084696784a743848495bad15e328af11f 100644
(file)
--- a/
ircd/m_names.c
+++ b/
ircd/m_names.c
@@
-141,8
+141,11
@@
void do_names(struct Client* sptr, struct Channel* chptr, int filter)
flag = 1;
needs_space = 0;
- if (!ShowChannel(sptr, chptr)) /* Don't list private channels unless we are on them. */
+ if (!ShowChannel(sptr, chptr)) { /* Don't list private channels unless we are on them. */
+ if (filter&NAMES_EON)
+ send_reply(sptr, RPL_ENDOFNAMES, chptr->chname);
return;
+ }
/* Iterate over all channel members, and build up the list. */