]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Patch from Brain fixing broken stuff
[user/henk/code/inspircd.git] / include / users.h
index 0fa51268d7bd191869412a461d53e1512730a0ef..b310e212914281800657e15681867b013498b354 100644 (file)
@@ -653,7 +653,7 @@ class CoreExport User : public connection
        /** Get IP string from sockaddr, using static internal buffer
         * @return The IP string
         */
-       const char* GetIPString();
+       const char* GetIPString(bool translate4in6 = true);
 
        /* Write error string
         */
@@ -878,14 +878,6 @@ class CoreExport User : public connection
         */
        void CloseSocket();
 
-       /** Disconnect a user gracefully
-        * @param user The user to remove
-        * @param r The quit reason to show to normal users
-        * @param oreason The quit reason to show to opers
-        * @return Although this function has no return type, on exit the user provided will no longer exist.
-        */
-       static void QuitUser(InspIRCd* Instance, User *user, const std::string &r, const char* oreason = "");
-
        /** Add the user to WHOWAS system
         */
        void AddToWhoWas();