summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 7bfa041d9..6ebb659b6 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] < 'A') || (text[i] > 'Z'))
{
return 0;
}