summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-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;
}