]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Move AllowedPrivs and similar oper information from LocalUser to OperInfo
[user/henk/code/inspircd.git] / src / userprocess.cpp
index 4da62359087ad0a3e43c926a2a16b84493cd0484..4cc3f0a889b0cb0f965a12bf1b2e08dfe6e64c80 100644 (file)
@@ -46,10 +46,10 @@ void InspIRCd::DoBackgroundUserStuff()
        /*
         * loop over all local users..
         */
-       std::vector<User*>::reverse_iterator count2 = this->Users->local_users.rbegin();
+       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)
@@ -78,7 +78,7 @@ void InspIRCd::DoBackgroundUserStuff()
                                                continue;
                                        }
 
-                                       curr->Write("PING :%s",this->Config->ServerName);
+                                       curr->Write("PING :%s",this->Config->ServerName.c_str());
                                        curr->lastping = 0;
                                        curr->nping = TIME  +curr->MyClass->GetPingTime();
                                }