]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Improve support for wildcards in <link:name>.
[user/henk/code/inspircd.git] / include / users.h
index eaf400c67da33081ef203349644065fe21132d20..9a90567a09ab3e27f53abfcca7bd9facdb7bfb3c 100644 (file)
@@ -681,10 +681,13 @@ class CoreExport User : public Extensible
 
 class CoreExport UserIOHandler : public StreamSocket
 {
+ private:
+        size_t checked_until;
  public:
        LocalUser* const user;
        UserIOHandler(LocalUser* me)
                : StreamSocket(StreamSocket::SS_USER)
+               , checked_until(0)
                , user(me)
        {
        }
@@ -769,11 +772,6 @@ class CoreExport LocalUser : public User, public insp::intrusive_list_node<Local
         */
        irc::sockets::sockaddrs server_sa;
 
-       /**
-        * @return The port number of this user.
-        */
-       int GetServerPort();
-
        /** Recursion fix: user is out of SendQ and will be quit as soon as possible.
         * This can't be handled normally because QuitUser itself calls Write on other
         * users, which could trigger their SendQ to overrun.
@@ -788,9 +786,8 @@ class CoreExport LocalUser : public User, public insp::intrusive_list_node<Local
         */
        unsigned int exempt:1;
 
-       /** Used by PING checking code
-        */
-       time_t nping;
+       /** The time at which this user should be pinged next. */
+       time_t nextping;
 
        /** Time that the connection last sent a message, used to calculate idle time
         */