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 --- include/users.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 503a1e568..b3de65941 100644 --- a/include/users.h +++ b/include/users.h @@ -258,7 +258,7 @@ public: */ unsigned long limit; - int GetMaxChans() + size_t GetMaxChans() { return maxchans; } @@ -456,10 +456,6 @@ class CoreExport User : public connection */ void DecrementModes(); - /** Max channels for this user - */ - unsigned int MaxChans; - std::map* AllowedOperCommands; /** Allowed user modes from oper classes. */ @@ -505,8 +501,6 @@ class CoreExport User : public connection */ void StartDNSLookup(); - unsigned int GetMaxChans(); - /** The users nickname. * An invalid nickname indicates an unregistered connection prior to the NICK command. * Use InspIRCd::IsNick() to validate nicknames. -- cgit v1.3.1-10-gc9f91