From 08f6f056667df63d1673bea959c73b75393113c6 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Fri, 27 Oct 2017 19:15:23 +0100 Subject: Change SetClientIP to take a C++ string instead of a char array. --- 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 2fbbf31b6..03d94b28b 100644 --- a/include/users.h +++ b/include/users.h @@ -371,7 +371,7 @@ class CoreExport User : public Extensible /** Sets the client IP for this user * @return true if the conversion was successful */ - virtual bool SetClientIP(const char* sip, bool recheck_eline = true); + virtual bool SetClientIP(const std::string& address, bool recheck_eline = true); virtual void SetClientIP(const irc::sockets::sockaddrs& sa, bool recheck_eline = true); @@ -837,7 +837,7 @@ class CoreExport LocalUser : public User, public insp::intrusive_list_node