From 821a5bca883ad8c06cb27963acf8861d9ef1031e Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 5 Apr 2007 23:53:01 +0000 Subject: Fix for bug #199 (Feature request) submitted by owine. Ended up adding an extra parameter to for this. It turned into a biggie :P git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6742 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/configreader.h | 2 +- include/inspircd.h | 5 +++++ include/modules.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) (limited to 'include') 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 ulines; + std::map 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 -- cgit v1.2.3