]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/userprocess.cpp
Add m_chanhistory, mode +H <lines> to replay some lines of history on channel join
[user/henk/code/inspircd.git] / src / userprocess.cpp
index bc354fa6d955ab0d11341dc6e6305cf4f1c1a1f8..d4de2907596221296d04cb9285172ebe568595aa 100644 (file)
@@ -61,11 +61,6 @@ void InspIRCd::DoBackgroundUserStuff()
                        curr->OnDataReady();
                }
 
-               if (curr->getSendQSize() == 0)
-               {
-                       FOREACH_MOD(I_OnBufferFlushed,OnBufferFlushed(curr));
-               }
-
                switch (curr->registered)
                {
                        case REG_ALL:
@@ -83,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();
                                }