From 7e94b3110480efd4ef1e46cd44dc31c46aa9f8a7 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 21 Jul 2008 17:11:02 +0000 Subject: Remove duplicated member, kept in classes.. Possible now we have a pointer. this saves (another) 4 bytes per user. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10064 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 3e9baba72..243422558 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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. -- cgit v1.3.1-10-gc9f91