X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fusers.cpp;h=de608508400d7ecbb3102005a8406e9f9ebac134;hb=f2408e7cc91708c33ceaec1e187e94b86580fd49;hp=3e9baba72d3e90812ff66c287627910670957138;hpb=a67b9de1742efbff29ec08093b220565eab7df23;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/users.cpp b/src/users.cpp index 3e9baba72..de6085084 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -11,7 +11,7 @@ * --------------------------------------------------- */ -/* $Core: libIRCDusers */ +/* $Core */ #include "inspircd.h" #include @@ -861,7 +861,6 @@ void User::CheckClass() } this->nping = ServerInstance->Time() + a->GetPingTime() + ServerInstance->Config->dns_timeout; - this->MaxChans = a->GetMaxChans(); } bool User::CheckLines() @@ -1755,12 +1754,6 @@ void User::SplitChanList(User* dest, const std::string &cl) } } -unsigned int User::GetMaxChans() -{ - return this->MaxChans; -} - - /* * Sets a user's connection class. * If the class name is provided, it will be used. Otherwise, the class will be guessed using host/ip/ident/etc.