]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Remove SpanningTreeProtocolInterface::SendOperNotice - it was translated to a SendSNO...
[user/henk/code/inspircd.git] / include / users.h
index f91e8b152b28b3496cffe880ef8fdc5d25c28f8c..229edcfa2564aea295979c9f8c966d3fbbc24bc7 100644 (file)
@@ -239,6 +239,12 @@ public:
                this->limit = llimit;
        }
 
+       void Update(const std::string &n, const std::string &hst)
+       {
+               name = n;
+               host = hst;
+       }
+
        /** Reference counter. Contains an int as to how many users are connected to this class. :)
         * This will be 0 if no users are connected. If a <connect> is removed from the config, and there
         * are 0 users on it - it will go away in RAM. :)
@@ -663,10 +669,6 @@ class CoreExport User : public connection
         */
        bool exempt;
 
-       /** True if the user is a 4in6 ip (0::ffff:1.2.3.4) and requires special translation in GetIPString()
-        */
-       bool is4in6;
-
        /** This value contains how far into the penalty threshold the user is. Once its over
         * the penalty threshold then commands are held and processed on-timer.
         */
@@ -687,6 +689,10 @@ class CoreExport User : public connection
         */
        User(InspIRCd* Instance, const std::string &uid = "");
 
+       /** Check if the user matches a G or K line, and disconnect them if they do
+        */
+       void CheckLines();
+
        /** Returns the full displayed host of the user
         * This member function returns the hostname of the user as seen by other users
         * on the server, in nick!ident&at;host form.