projects
/
ircu2.10.12-pk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added MODE_AUDITORIUM /names refresh on op/deop
[ircu2.10.12-pk.git]
/
ircd
/
m_join.c
diff --git
a/ircd/m_join.c
b/ircd/m_join.c
index 6a93769cc55de697d612fd52ba7f92a0c1b18575..3bc64b6e3fce267b742a116377ebd2671630267b 100644
(file)
--- a/
ircd/m_join.c
+++ b/
ircd/m_join.c
@@
-354,7
+354,7
@@
int m_join(struct Client *cptr, struct Client *sptr, int parc, char *parv[])
chptr->topic_time);
}
chptr->topic_time);
}
- do_names(sptr, chptr, NAMES_ALL|NAMES_EON); /* send /names list */
+ do_names(sptr, chptr, NAMES_ALL|NAMES_EON
|(((chptr->mode.mode & MODE_AUDITORIUM) && !(flags & CHFL_CHANOP)) ? NAMES_OPS : 0)
); /* send /names list */
}
joinbuf_flush(&join); /* must be first, if there's a JOIN 0 */
}
joinbuf_flush(&join); /* must be first, if there's a JOIN 0 */