From 6140520fef91f8ddd0c86a2222a17ba66c142233 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 25 Feb 2010 15:03:58 +0000 Subject: GCC doesn't like characters being used in array subscripts git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12564 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_channames.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_channames.cpp') diff --git a/src/modules/m_channames.cpp b/src/modules/m_channames.cpp index 032e1104c..0826fa56a 100644 --- a/src/modules/m_channames.cpp +++ b/src/modules/m_channames.cpp @@ -103,9 +103,9 @@ class ModuleChannelNames : public Module while (0 != (allowno = allowrange.GetToken())) allowedmap[(unsigned char)(allowno)] = true; - allowedmap[7] = false; - allowedmap[' '] = false; - allowedmap[','] = false; + allowedmap[0x07] = false; // BEL + allowedmap[0x20] = false; // ' ' + allowedmap[0x2C] = false; // ',' ValidateChans(); } -- cgit v1.2.3