summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-30 22:08:26 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-30 22:08:26 +0000
commit2c228fe6eba583df21a4c29356b7b16964675439 (patch)
tree899fab04687fca386dc0f32102905ee5253863d0 /include
parentc73bb5d2ca948e418fc531840b382e378c9d47f6 (diff)
Add configuration option <options:operspywhois> to set if opers see invisble and private channels in /whois, also clean up the code for whois a bit, removing more uneccessary casts.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3789 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd_io.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index d3eaecfa9..531026778 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -256,6 +256,11 @@ class ServerConfig : public classbase
*/
bool HideBans;
+ /** If this is enabled then operators will
+ * see invisible (+i) channels in /whois.
+ */
+ bool OperSpyWhois;
+
/** Set to a non-empty string to obfuscate the server name of users in WHOIS
*/
char HideWhoisServer[MAXBUF];
@@ -322,7 +327,7 @@ class ServerConfig : public classbase
* only to operators.
*/
char OperOnlyStats[MAXBUF];
-
+
/** The path and filename of the ircd.log file
*/
std::string logpath;