X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules.cpp;h=28d746323eb2cb2f6871dff97945616e2edb47de;hb=b7e299c2e10d915d5e59df4cb3f54951c8daa999;hp=31216bef3273880b1b1be6ee635a8ba09f3338f4;hpb=890cf3e5a23dabe449314ac3340a2fa98d36545f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules.cpp b/src/modules.cpp index 31216bef3..28d746323 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -692,15 +692,6 @@ const std::string& InspIRCd::GetModuleName(Module* m) return nothing; /* As above */ } -void InspIRCd::RehashServer() -{ - this->WriteOpers("*** Rehashing config file"); - this->RehashUsersAndChans(); - this->Config->Read(false,NULL); - this->ResetMaxBans(); - this->Res->Rehash(); -} - /* This is ugly, yes, but hash_map's arent designed to be * addressed in this manner, and this is a bit of a kludge. * Luckily its a specialist function and rarely used by @@ -764,9 +755,9 @@ void InspIRCd::DumpText(userrec* User, const std::string &LinePrefix, stringstre User->WriteServ(CompleteLine); } -userrec* InspIRCd::FindDescriptor(int socket) +userrec* FindDescriptorHandler::Call(int socket) { - return reinterpret_cast(this->SE->GetRef(socket)); + return reinterpret_cast(Server->SE->GetRef(socket)); } bool InspIRCd::AddMode(ModeHandler* mh, const unsigned char mode)