aboutsummaryrefslogtreecommitdiffstats
path: root/src/userprocess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/userprocess.cpp')
-rw-r--r--src/userprocess.cpp5
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)