summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 19:32:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 19:32:11 +0000
commitf8ca9e22cc2c82d800c13e9a856bee01d777b9bb (patch)
tree0ed2f2e115cdeed956219a830a63dec79758043d /include/users.h
parent198cb05d1dbfb1a66d8b506e2a1f42a152553228 (diff)
Fix global session checks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4715 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 5 insertions, 1 deletions
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;