diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_blockcaps.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index e74d85a0f..f7ee81fd5 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -51,8 +51,8 @@ public: if (c->IsCustomModeSet('P')) { - char* n = (char*)text.c_str(); - for (char* i = n; *i; i++) + char* i = (char*)text.c_str(); + for (; *i; i++) { if (((*i != ' ') && (*i != '\t')) && ((*i < 'A') || (*i > 'Z'))) { |