From c7de80233a0cc52b30ad91ff2de9ecc2abdfba38 Mon Sep 17 00:00:00 2001 From: Dylan Frank Date: Sun, 25 Mar 2018 09:02:00 -0700 Subject: 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 with an oper privilege. - Introduce to split WHOIS channel lists. Closes #969.--- include/configreader.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include') 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; -- cgit v1.3.1-10-gc9f91