summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDylan Frank <b00mx0r@aureus.pw>2018-03-25 09:02:00 -0700
committerPeter Powell <petpow@saberuk.com>2018-03-25 17:02:00 +0100
commitc7de80233a0cc52b30ad91ff2de9ecc2abdfba38 (patch)
treefc655b6d57541a38c3586878d1147d6453c9eba9 /include
parent017e23fb61cdda7f92ca175b7afba5da5f78bd36 (diff)
Separate secret and private channels on whois for non-opers (#1447)
Separate secret and private channels on WHOIS for all users. - Move the config parsing from the core to core_whois. - Replace <security:operspywhois> with an oper privilege. - Introduce <options:splitwhois> to split WHOIS channel lists. Closes #969.
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 1a2335e52..5db6cc44b 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -259,7 +259,6 @@ class CoreExport ServerConfig
/** Used to indicate who we announce invites to on a channel */
enum InviteAnnounceState { INVITE_ANNOUNCE_NONE, INVITE_ANNOUNCE_ALL, INVITE_ANNOUNCE_OPS, INVITE_ANNOUNCE_DYNAMIC };
- enum OperSpyWhoisState { SPYWHOIS_NONE, SPYWHOIS_SINGLEMSG, SPYWHOIS_SPLITMSG };
/** This holds all the information in the config file,
* it's indexed by tag name to a vector of key/values.
@@ -377,11 +376,6 @@ class CoreExport ServerConfig
*/
InviteAnnounceState AnnounceInvites;
- /** If this is enabled then operators will
- * see invisible (+i) channels in /whois.
- */
- OperSpyWhoisState OperSpyWhois;
-
/** True if raw I/O is being logged */
bool RawLog;