]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Change User::GetIPString() to return const std::string&
[user/henk/code/inspircd.git] / include / users.h
index 88abfbcd1c6dc8c682fa3a2597f7c2e15891f148..c79bf7cb8e74405ce083f3863da7610b2fef830c 100644 (file)
@@ -384,7 +384,7 @@ class CoreExport User : public Extensible
        /** Get client IP string from sockaddr, using static internal buffer
         * @return The IP string
         */
-       const char* GetIPString();
+       const std::string& GetIPString();
 
        /** Get CIDR mask, using default range, for this user
         */