summaryrefslogtreecommitdiff
path: root/include/users.h
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/users.h
parent2bdbb2878efb600af81513147983aeac7bd62331 (diff)
Fix m_dnsbl not checking cgiirc users when the cgiirc address is elined
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h8
1 files changed, 4 insertions, 4 deletions
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);