diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-10-03 04:38:11 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-10-03 20:36:20 +0200 |
commit | 13b7084eae707af1066a72fff9d5b2b91534dd20 (patch) | |
tree | e13a8670e2b39f64cc1ed072c6db371c71359ce9 | |
parent | 6b14ac1562dda1492e7ca44c2306e2432200b8cc (diff) |
Change User::SetClientIP() to be virtual
-rw-r--r-- | include/users.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index 5a8864cdd..2834efaae 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 */ - 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 |