summaryrefslogtreecommitdiff
path: root/src/modules/m_channames.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-25 15:03:58 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-25 15:03:58 +0000
commit6140520fef91f8ddd0c86a2222a17ba66c142233 (patch)
tree03f7521d839ee477ce35bba13792f3f910c5e09c /src/modules/m_channames.cpp
parent051749fa68a78e5a6e808f2a7d151788c75f9373 (diff)
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
Diffstat (limited to 'src/modules/m_channames.cpp')
-rw-r--r--src/modules/m_channames.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}