From 950b9e70437ea1fe3ee5aafe8672fe3cbbe479ec Mon Sep 17 00:00:00 2001 From: danieldg Date: Mon, 22 Mar 2010 22:30:21 +0000 Subject: Change to a tristate git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12653 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/configreader.h b/include/configreader.h index 6cd355176..d2f5d2610 100644 --- a/include/configreader.h +++ b/include/configreader.h @@ -216,6 +216,7 @@ 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_NEWLINE, SPYWHOIS_SPLITMSG }; /** This holds all the information in the config file, * it's indexed by tag name to a vector of key/values. @@ -428,7 +429,7 @@ class CoreExport ServerConfig /** If this is enabled then operators will * see invisible (+i) channels in /whois. */ - bool OperSpyWhois; + OperSpyWhoisState OperSpyWhois; /** True if raw I/O is being logged */ bool RawLog; -- cgit v1.2.3