From f8ca9e22cc2c82d800c13e9a856bee01d777b9bb Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Aug 2006 19:32:11 +0000 Subject: Fix global session checks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4715 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 743ea6c8a..0b9599548 100644 --- a/include/users.h +++ b/include/users.h @@ -282,10 +282,14 @@ class userrec : public connection */ int GetProtocolFamily(); - /** Get IP string from sockaddr + /** Get IP string from sockaddr, using static internal buffer */ const char* GetIPString(); + /** Get IP string from sockaddr, using caller-specified buffer + */ + const char* GetIPString(char* buf); + /* Write error string */ std::string WriteError; -- cgit v1.3.1-10-gc9f91