X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fuserprocess.cpp;h=ccd32a9c973f2e987e45065c15877f55c4baaef3;hb=76ebc88ccd6fef0bf2d97b607829fb3466e273af;hp=9789a2ddf8fabeea026106b4687eeb1f448bcf89;hpb=d02a5866d4fdedec9219aeca0a6048828b394fd2;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/userprocess.cpp b/src/userprocess.cpp index 9789a2ddf..ccd32a9c9 100644 --- a/src/userprocess.cpp +++ b/src/userprocess.cpp @@ -54,8 +54,6 @@ using namespace std; extern struct sockaddr_in client,server; extern socklen_t length; -extern time_t TIME; -extern time_t OLDTIME; char data[65536]; void InspIRCd::ProcessUser(userrec* cu) @@ -301,7 +299,7 @@ void InspIRCd::DoSocketTimeouts(time_t TIME) */ void InspIRCd::DoBackgroundUserStuff(time_t TIME) { - CullList GlobalGoners; + CullList GlobalGoners(this); /* XXX: IT IS NOT SAFE TO USE AN ITERATOR HERE. DON'T EVEN THINK ABOUT IT. */ for (unsigned long count2 = 0; count2 != this->local_users.size(); count2++)