From 20680f9c4964a5e10e3649a1e479078ff85c5c85 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 23 Mar 2008 21:12:36 +0000 Subject: This should save 128 bytes per user for non-opers. Well worth it imho for a reasonably large amount of unused ram. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9179 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index a12282ac9..07843b7c0 100644 --- a/include/users.h +++ b/include/users.h @@ -458,10 +458,10 @@ class CoreExport User : public connection std::map* AllowedOperCommands; /** Allowed user modes from oper classes. */ - bool AllowedUserModes[64]; + bool* AllowedUserModes; /** Allowed channel modes from oper classes. */ - bool AllowedChanModes[64]; + bool* AllowedChanModes; public: /** Contains a pointer to the connect class a user is on from - this will be NULL for remote connections. -- cgit v1.2.3