From bd155d530887b2cafb775b9783a938de0250c348 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 8 Mar 2006 13:06:07 +0000 Subject: [PATCH] Actually, 64. (256-64-128) = 64 chars printable alphabet (roughly) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3552 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/channels.h | 2 +- src/channels.cpp | 2 +- src/svn-rev.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/channels.h b/include/channels.h index 96f9d8954..f15464123 100644 --- a/include/channels.h +++ b/include/channels.h @@ -97,7 +97,7 @@ class chanrec : public Extensible /** Custom modes for the channel. * Plugins may use this field in any way they see fit. */ - char custom_modes[96]; /* modes handled by modules */ + char custom_modes[64]; /* modes handled by modules */ /** User list (casted to char*'s to stop forward declaration stuff) * (chicken and egg scenario!) diff --git a/src/channels.cpp b/src/channels.cpp index 360996bd5..fdbaf7871 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,96); + memset(&custom_modes,0,64); } void chanrec::SetCustomMode(char mode,bool mode_on) diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 14c28d3b3..11d8f9c49 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3548 +echo 3551 -- 2.39.5