diff options
| author | 2011-01-30 14:58:37 -0500 | |
|---|---|---|
| committer | 2011-01-30 14:58:37 -0500 | |
| commit | afdc768be8a93ffe1916695ff1b12256c39dc38d (patch) | |
| tree | 48503bbdbc1b4b2456754598b1cfd4c1b89df11e /src/userprocess.cpp | |
| parent | Remove timer.h from inspircd.h (diff) | |
Remove inspsocket.h from inspircd.h
Diffstat (limited to 'src/userprocess.cpp')
| -rw-r--r-- | src/userprocess.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 2f1583768..63af3f234 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -12,6 +12,7 @@ */ #include "inspircd.h" +#include "inspsocket.h" #include "xline.h" /** @@ -34,14 +35,14 @@ void InspIRCd::DoBackgroundUserStuff() if (curr->quitting) continue; - if (curr->CommandFloodPenalty || curr->eh.getSendQSize()) + if (curr->CommandFloodPenalty || curr->eh->getSendQSize()) { unsigned int rate = curr->MyClass->commandrate; if (curr->CommandFloodPenalty > rate) curr->CommandFloodPenalty -= rate; else curr->CommandFloodPenalty = 0; - curr->eh.OnDataReady(); + curr->eh->OnDataReady(); } switch (curr->registered) |
