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:
0bcb168
)
m_names fix (changed the wrong part all commits before -.-)
author
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 20:37:21 +0000
(22:37 +0200)
committer
pk910
<philipp@zoelle1.de>
Tue, 28 Jun 2011 20:37:21 +0000
(22:37 +0200)
ircd/m_names.c
patch
|
blob
|
history
diff --git
a/ircd/m_names.c
b/ircd/m_names.c
index eda82851e847950ac54db87f858894092b86a12a..0e1169e7016a38e300ece79c56871fe18c009971 100644
(file)
--- a/
ircd/m_names.c
+++ b/
ircd/m_names.c
@@
-311,7
+311,7
@@
int m_names(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
* Special Case 2: User is on this channel, requesting full names list.
* (As performed with each /join) - ** High frequency usage **
*/
* Special Case 2: User is on this channel, requesting full names list.
* (As performed with each /join) - ** High frequency usage **
*/
- do_names(sptr, chptr, showingdelayed|NAMES_ALL|NAMES_EON);
+ do_names(sptr, chptr, showingdelayed|NAMES_ALL|NAMES_EON
|((chptr->mode.mode & MODE_AUDITORIUM) && !(member->status & MODE_CHANOP) ? NAMES_OPS : 0)
);
}
else
{
}
else
{
@@
-319,7
+319,7
@@
int m_names(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
* Special Case 3: User isn't on this channel, show all visible users, in
* non secret channels.
*/
* Special Case 3: User isn't on this channel, show all visible users, in
* non secret channels.
*/
- do_names(sptr, chptr, showingdelayed|NAMES_VIS|NAMES_EON);
+ do_names(sptr, chptr, showingdelayed|NAMES_VIS|NAMES_EON
|((ch2ptr->mode.mode & MODE_AUDITORIUM) ? NAMES_OPS : 0)
);
}
}
else
}
}
else