summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/users.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index 56297bed8..cdc0d8078 100644
--- a/include/users.h
+++ b/include/users.h
@@ -394,6 +394,11 @@ class CoreExport User : public Extensible
*/
bool SetClientIP(const char* sip);
+ /** Sets the client IP for this user
+ * @return true always
+ */
+ bool SetClientIP(irc::sockets::sockaddrs *sa);
+
/** Constructor
* @throw CoreException if the UID allocated to the user already exists
*/