From 7f9e0c3204e846ba78af560e258ae553c31f0ec9 Mon Sep 17 00:00:00 2001 From: om Date: Fri, 23 Jun 2006 14:24:34 +0000 Subject: 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 --- src/modules/m_blockcaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_blockcaps.cpp') 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'))) -- cgit v1.2.3