X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=c79bf7cb8e74405ce083f3863da7610b2fef830c;hb=12872e3d4b942d10c4dc1ec9e099345b474ac874;hp=88abfbcd1c6dc8c682fa3a2597f7c2e15891f148;hpb=fe9e5947552cc8b044a7ce47ffbee06ee7283886;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 88abfbcd1..c79bf7cb8 100644 --- a/include/users.h +++ b/include/users.h @@ -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 */