summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-23 14:24:34 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-06-23 14:24:34 +0000
commit7f9e0c3204e846ba78af560e258ae553c31f0ec9 (patch)
treec302f2d7d3c804a52d564e4652d4b2fb14d8561e /src/modules/m_blockcaps.cpp
parentbf58f3140ebe17652e30a0d01d3b4bc367ee6c32 (diff)
Remove un-needed cast, I have a horrible feeling I'll get stabbed for this. Please let me know before you do...
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4052 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index 3db5e1ba8..f23726c58 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -51,7 +51,7 @@ public:
if (c->IsModeSet('P'))
{
- char* i = (char*)text.c_str();
+ const char* i = text.c_str();
for (; *i; i++)
{
if (((*i != ' ') && (*i != '\t')) && ((*i < 'A') || (*i > 'Z')))