]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Change User::SetClientIP() to be virtual
[user/henk/code/inspircd.git] / include / users.h
index 5a8864cddc87172ef4f0a5db9682251ccaa6d93e..2834efaaed4dca306f2f65c066bfd64f3a5ce400 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
         */
-       bool SetClientIP(const char* sip);
+       virtual bool SetClientIP(const char* sip);
 
-       void SetClientIP(const irc::sockets::sockaddrs& sa);
+       virtual void SetClientIP(const irc::sockets::sockaddrs& sa);
 
        /** Constructor
         * @throw CoreException if the UID allocated to the user already exists