summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-05 23:53:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-04-05 23:53:01 +0000
commit821a5bca883ad8c06cb27963acf8861d9ef1031e (patch)
tree95f0f8a9de79ea033b1bfd7c111474d69014fda1 /include
parent2248866b4b3c260ae351607700d5fb0abf8c458b (diff)
Fix for bug #199 (Feature request) submitted by owine. Ended up adding an extra parameter to <uline> for this.
It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/configreader.h2
-rw-r--r--include/inspircd.h5
-rw-r--r--include/modules.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/include/configreader.h b/include/configreader.h
index 2d144441a..499761449 100644
--- a/include/configreader.h
+++ b/include/configreader.h
@@ -487,7 +487,7 @@ class ServerConfig : public Extensible
/** List of u-lined servers
*/
- std::vector<irc::string> ulines;
+ std::map<irc::string, bool> ulines;
/** Max banlist sizes for channels (the std::string is a glob)
*/
diff --git a/include/inspircd.h b/include/inspircd.h
index 48560bab6..293a3ba42 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -1142,6 +1142,11 @@ class InspIRCd : public classbase
*/
bool ULine(const char* server);
+ /** Returns true if the uline is 'silent' (doesnt generate
+ * remote connect notices etc).
+ */
+ bool SilentULine(const char* server);
+
/** Returns the subversion revision ID of this ircd
* @return The revision ID or an empty string
*/
diff --git a/include/modules.h b/include/modules.h
index c1e4bd239..1f8f0fb5e 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -75,7 +75,7 @@ enum MessageType {
* ipv4 servers, so this value will be ten times as
* high on ipv6 servers.
*/
-#define NATIVE_API_VERSION 11018
+#define NATIVE_API_VERSION 11019
#ifdef IPV6
#define API_VERSION (NATIVE_API_VERSION * 10)
#else