]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Allow static build of inspircd without module support
[user/henk/code/inspircd.git] / src / userprocess.cpp
index aa05504d50b049ccf3f24babcdb6173ef2e3be29..8aa76a1fd722637a1a97cddc71128801efce0c14 100644 (file)
@@ -49,7 +49,7 @@ void InspIRCd::DoBackgroundUserStuff()
        std::vector<LocalUser*>::reverse_iterator count2 = this->Users->local_users.rbegin();
        while (count2 != this->Users->local_users.rend())
        {
-               User *curr = *count2;
+               LocalUser *curr = *count2;
                count2++;
 
                if (curr->quitting)
@@ -58,7 +58,7 @@ void InspIRCd::DoBackgroundUserStuff()
                if (curr->Penalty)
                {
                        curr->Penalty--;
-                       curr->OnDataReady();
+                       curr->eh.OnDataReady();
                }
 
                switch (curr->registered)