solanum/include
Ed Kellett 1123eefcb0
Rework oper hiding
As it stands, oper hiding is rather messy and inconsistent. Add
SeesOper(target, source), which is true iff target should appear as an
oper to source. If I haven't missed something, all commands that reveal
oper status now use the same logic.

general::hide_opers_in_whois is a special case, and affects /whois only.

general::hide_opers is introduced, and has the same effect as giving
everyone oper:hidden. All commands that reveal oper status respect both.
2019-09-12 23:14:15 +01:00
..
inline strip_colour: Strip '\x0F' (^O, formatting off) 2014-04-17 13:12:11 +10:00
authproc.h authd: wait until the ssl connection is "open" before reading 2016-04-25 21:43:21 +01:00
bandbi.h Add bandb IRCd APIs. 2010-01-07 17:10:16 -06:00
cache.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
capability.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
certfp.h certfp: Move method name/prefix strings to a separate header file 2016-04-26 20:33:18 +01:00
channel.h channels: fix IsChannelName() to actually use IsChanPrefix(). 2016-09-16 14:02:41 -05:00
chmode.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
class.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
client.h Remove unused kline delay machinery 2019-04-27 14:51:27 +01:00
defaults.h Cleanup defaults.h config file. 2016-04-07 04:47:48 -05:00
dns.h Rename authd.[ch] on ircd side to authproc.[ch] to prevent shadowing. 2016-04-02 16:44:04 -05:00
hash.h hash.c: Save some more bytes 2016-03-27 06:29:10 -04:00
hook.h m_sasl: check if the agent is present after every client_exit 2018-08-12 12:50:43 +01:00
hostmask.h remove RB_IPV6 2017-08-20 12:54:46 +01:00
ircd.h ircd: functions that call exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
ircd_defs.h gcc7 fixes: NICKLEN -> NAMELEN 2018-01-19 23:26:20 +00:00
ircd_getopt.h getopt: a function that calls exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
ircd_linker.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
ircd_signal.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
listener.h Add basic SCTP listener support that binds to multiple addresses 2017-08-24 20:08:20 +01:00
logger.h logger: add idebug 2016-03-28 19:06:31 -05:00
m_info.h remove RB_IPV6 2017-08-20 12:54:46 +01:00
match.h match: allow the CharAttrs table to be modified at runtime 2016-09-16 13:09:44 -05:00
messages.h Add basic SCTP listener support that binds to multiple addresses 2017-08-24 20:08:20 +01:00
modules.h Deferred capability notifications from modules 2019-09-07 14:59:33 +01:00
monitor.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
msg.h Partially update a comment 2016-04-06 07:28:30 -05:00
msgbuf.h ircd: send tags on every message 2017-08-06 16:21:29 +01:00
newconf.h config.h delenda est 2016-03-19 19:14:26 -05:00
numeric.h config.h delenda est 2016-03-19 19:14:26 -05:00
operhash.h Make struct operhash_entry private. 2010-03-01 01:24:00 +01:00
packet.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
parse.h Change struct Dictionary(*) to rb_dictionary(_\1). 2016-03-23 08:09:58 -05:00
patchlevel.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
privilege.h Don't suggest putting values in an enum that are not in the enum. 2009-01-28 01:02:34 +01:00
ratelimit.h Add ratelimit for high-bandwidth commands. 2012-02-18 03:54:44 +00:00
reject.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
restart.h restart: functions that call exit(3) should be marked noreturn 2016-06-01 20:54:12 +00:00
s_assert.h make soft asserts better by allowing them to be used in expressions 2017-07-29 22:39:53 +01:00
s_conf.h Rework oper hiding 2019-09-12 23:14:15 +01:00
s_newconf.h Rework oper hiding 2019-09-12 23:14:15 +01:00
s_serv.h Revert "Implement the netsplit batch type." 2016-04-16 11:05:00 -05:00
s_stats.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
s_user.h config.h delenda est 2016-03-19 19:14:26 -05:00
scache.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
send.h ircd: send tags on every message 2017-08-06 16:21:29 +01:00
snomask.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
sslproc.h sslproc: use global ServerInfo configuration 2016-04-25 19:20:45 +01:00
stdinc.h stdinc: more cleanups 2016-03-20 01:19:07 -05:00
substitution.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
supported.h supported: add chantypes_update() 2016-09-16 13:49:02 -05:00
tgchange.h Remove s_assert definition from ircd_defs.h and add it to its own header. 2013-09-10 06:10:14 +00:00
whowas.h Remove $Id tags from everything. 2016-03-06 02:47:27 -06:00
wsproc.h ircd: integrate ircd side of wsockd support 2016-04-02 02:56:22 -05:00