From 168369f420a0ba3658793c1c28a6e2eafc4fa03c Mon Sep 17 00:00:00 2001 From: om Date: Sun, 5 Mar 2006 18:06:59 +0000 Subject: Ignore spaces/tabs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3470 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_blockcaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index b9ce41e07..79d706e99 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -53,7 +53,7 @@ public: { for(unsigned int i = 0; i < text.length(); i++) { - if((text[i] < 'A') || (text[i] > 'Z')) + if(((text[i] != ' ') && (text[i] != '\t')) && ((text[i] < 'A') || (text[i] > 'Z'))) { return 0; } -- cgit v1.2.3