diff options
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r-- | src/modules/m_blockcaps.cpp | 2 |
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'))) |