From b4c78897df7c5b0e19a54d8a909e053fab5e8d4d Mon Sep 17 00:00:00 2001 From: om Date: Tue, 7 Mar 2006 09:56:19 +0000 Subject: Optimisation of optimisation :P ty w00tie git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3505 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_blockcaps.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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'))) { -- cgit v1.2.3