summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-05 18:06:59 +0000
committerom <om@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-05 18:06:59 +0000
commit168369f420a0ba3658793c1c28a6e2eafc4fa03c (patch)
tree3d428b0a77bc77f50df959a4da65048dbddda3b4
parentb78f4284d514233d546b69ea5c1541734010e798 (diff)
Ignore spaces/tabs
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3470 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_blockcaps.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}