diff options
| author | 2006-08-04 19:32:11 +0000 | |
|---|---|---|
| committer | 2006-08-04 19:32:11 +0000 | |
| commit | f8ca9e22cc2c82d800c13e9a856bee01d777b9bb (patch) | |
| tree | 0ed2f2e115cdeed956219a830a63dec79758043d /include | |
| parent | Typo in /stats u (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')
| -rw-r--r-- | include/users.h | 6 |
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; |
