summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-03-03 23:13:54 +0100
committerattilamolnar <attilamolnar@hush.com>2013-03-11 20:48:58 +0100
commitfe9e5947552cc8b044a7ce47ffbee06ee7283886 (patch)
tree55a81f48ccfe503d4d6ed84798d042ee87b92ca8 /include
parent2bdbb2878efb600af81513147983aeac7bd62331 (diff)
Fix m_dnsbl not checking cgiirc users when the cgiirc address is elined
Diffstat (limited to 'include')
-rw-r--r--include/modules.h2
-rw-r--r--include/users.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/include/modules.h b/include/modules.h
index 2b9237a5d..e450233da 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -116,7 +116,7 @@ struct ModResult {
* and numerical comparisons in preprocessor macros if they wish to support
* multiple versions of InspIRCd in one file.
*/
-#define INSPIRCD_VERSION_API 3
+#define INSPIRCD_VERSION_API 4
/**
* This #define allows us to call a method in all
diff --git a/include/users.h b/include/users.h
index 0fc63c9b8..88abfbcd1 100644
--- a/include/users.h
+++ b/include/users.h
@@ -393,9 +393,9 @@ class CoreExport User : public Extensible
/** Sets the client IP for this user
* @return true if the conversion was successful
*/
- virtual bool SetClientIP(const char* sip);
+ virtual bool SetClientIP(const char* sip, bool recheck_eline = true);
- virtual void SetClientIP(const irc::sockets::sockaddrs& sa);
+ virtual void SetClientIP(const irc::sockets::sockaddrs& sa, bool recheck_eline = true);
/** Constructor
* @throw CoreException if the UID allocated to the user already exists
@@ -825,9 +825,9 @@ class CoreExport LocalUser : public User, public InviteBase
*/
void SetClass(const std::string &explicit_name = "");
- bool SetClientIP(const char* sip);
+ bool SetClientIP(const char* sip, bool recheck_eline = true);
- void SetClientIP(const irc::sockets::sockaddrs& sa);
+ void SetClientIP(const irc::sockets::sockaddrs& sa, bool recheck_eline = true);
void SendText(const std::string& line);
void Write(const std::string& text);