]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Switch <stdint.h> test to use a test file too.
[user/henk/code/inspircd.git] / include / users.h
index 0fc63c9b86de3d3414dd721b1c999e97c09846c2..88abfbcd1c6dc8c682fa3a2597f7c2e15891f148 100644 (file)
@@ -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);