]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Run DelMode and DelModeWatcher in RemoveModule
[user/henk/code/inspircd.git] / include / users.h
index 31c1c641d8328b8855e95838664093ebc8162418..6f656a51b32da0114d279228e1eb71d06000167f 100644 (file)
@@ -382,7 +382,7 @@ class CoreExport User : public StreamSocket
 
        /** The server the user is connected to.
         */
-       const char* server;
+       std::string server;
 
        /** The user's away message.
         * If this string is empty, the user is not marked as away.
@@ -444,10 +444,6 @@ class CoreExport User : public StreamSocket
         * @return The port number of this user.
         */
        int GetServerPort();
-       /**
-        * @return The server IP address
-        */
-       std::string GetServerIP();
 
        /** Get client IP string from sockaddr, using static internal buffer
         * @return The IP string