summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 00:25:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 00:25:28 +0000
commit38d7b5b0d9206e85dcf531036b863a0864c35f93 (patch)
tree076cb0083bfe6c2d58364c0a1c74f89e61fbfea3 /include
parentc266d3e4b8201929a3b1c5c358fffb748b2b6c47 (diff)
*EXPERIMENTAL* <options:hidesplits> ircu-style quit munging for netsplits
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3031 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h1
-rw-r--r--include/inspircd_io.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 68289d5ee..346287462 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -131,5 +131,6 @@ class InspIRCd
/* userrec optimization stuff */
void AddServerName(std::string servername);
const char* FindServerNamePtr(std::string servername);
+bool FindServerName(std::string servername);
#endif
diff --git a/include/inspircd_io.h b/include/inspircd_io.h
index da592d6c4..a3190cd6a 100644
--- a/include/inspircd_io.h
+++ b/include/inspircd_io.h
@@ -220,6 +220,10 @@ class ServerConfig : public classbase
*/
int DieDelay;
+ /** True if we're going to hide netsplits as *.net *.split for non-opers
+ */
+ bool HideSplits;
+
/** A list of IP addresses the server is listening
* on.
*/