From afdc768be8a93ffe1916695ff1b12256c39dc38d Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Sun, 30 Jan 2011 14:58:37 -0500 Subject: Remove inspsocket.h from inspircd.h --- src/userprocess.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/userprocess.cpp') 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) -- cgit v1.3.1-10-gc9f91