summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-10-03 04:38:11 +0200
committerattilamolnar <attilamolnar@hush.com>2012-10-03 20:36:20 +0200
commit13b7084eae707af1066a72fff9d5b2b91534dd20 (patch)
treee13a8670e2b39f64cc1ed072c6db371c71359ce9 /include
parent6b14ac1562dda1492e7ca44c2306e2432200b8cc (diff)
Change User::SetClientIP() to be virtual
Diffstat (limited to 'include')
-rw-r--r--include/users.h4
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