From 13b7084eae707af1066a72fff9d5b2b91534dd20 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Wed, 3 Oct 2012 04:38:11 +0200 Subject: Change User::SetClientIP() to be virtual --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 -- cgit v1.2.3