]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change User::SetClientIP() to be virtual
authorattilamolnar <attilamolnar@hush.com>
Wed, 3 Oct 2012 02:38:11 +0000 (04:38 +0200)
committerattilamolnar <attilamolnar@hush.com>
Wed, 3 Oct 2012 18:36:20 +0000 (20:36 +0200)
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