diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configreader.h | 2 | ||||
-rw-r--r-- | include/inspircd.h | 5 | ||||
-rw-r--r-- | include/modules.h | 2 |
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 |