From 2c228fe6eba583df21a4c29356b7b16964675439 Mon Sep 17 00:00:00 2001 From: om Date: Thu, 30 Mar 2006 22:08:26 +0000 Subject: Add configuration option 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 --- include/inspircd_io.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/inspircd_io.h') 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; -- cgit v1.2.3