summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 09:56:19 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-07 09:56:19 +0000
commitb4c78897df7c5b0e19a54d8a909e053fab5e8d4d (patch)
tree4c46845265c6c656c271e66ccb3649954c316de6 /src
parent3b7216d69b6de51cd9530ca9a468b0276f49ce53 (diff)
Optimisation of optimisation :P ty w00tie
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3505 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_blockcaps.cpp4
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')))
{