From 76174ede1d1493bfbd0a9d7fd9ccc954ebe54ffb Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 8 Mar 2006 13:05:07 +0000 Subject: chanrec::custom_modes only needs 96 values not 190 (256 - 32 - 128) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3551 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index 3b05cf8ea..360996bd5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -73,7 +73,7 @@ chanrec::chanrec() *name = *topic = *setby = *key = 0; created = topicset = limit = binarymodes = 0; internal_userlist.clear(); - memset(&custom_modes,0,190); + memset(&custom_modes,0,96); } void chanrec::SetCustomMode(char mode,bool mode_on) -- cgit v1.2.3