]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Remove a redundant method here, call the mode manager directly
[user/henk/code/inspircd.git] / include / users.h
index c795ae1a4a8ce048b70eead3f94da949be4906f6..d9330d42720437020225db9b0648fd5b417b0793 100644 (file)
@@ -481,10 +481,6 @@ class CoreExport User : public connection
         */
        void DecrementModes();
 
-       /** Oper-only quit message for this user if non-null
-        */
-       char* operquit;
-
        /** Max channels for this user
         */
        unsigned int MaxChans;
@@ -616,6 +612,18 @@ class CoreExport User : public connection
         */
        std::string sendq;
 
+       /** Message user will quit with. Not to be set externally.
+        */
+       std::string quitmsg;
+
+       /** Quit message shown to opers - not to be set externally.
+        */
+       std::string operquitmsg;
+
+       /** Whether or not to send an snotice about this user's quitting
+        */
+       bool quietquit;
+
        /** Flood counters - lines received
         */
        unsigned int lines_in;
@@ -624,13 +632,12 @@ class CoreExport User : public connection
         */
        time_t reset_due;
 
-       /** If this is set to true, then all read operations for the user
+       /** If this is set to true, then all socket operations for the user
         * are dropped into the bit-bucket.
-        * This is used by the global CullList, but please note that setting this value
-        * alone will NOT cause the user to quit. This means it can be used seperately,
-        * for example by shun modules etc.
+        * This value is set by QuitUser, and is not needed seperately from that call.
+        * Please note that setting this value alone will NOT cause the user to quit.
         */
-       bool muted;
+       bool quitting;
 
        /** IPV4 or IPV6 ip address. Use SetSockAddr to set this and GetProtocolFamily/
         * GetIPString/GetPort to obtain its values.