diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_blockcaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp index ecccf3534..be366411e 100644 --- a/src/modules/m_blockcaps.cpp +++ b/src/modules/m_blockcaps.cpp @@ -92,7 +92,7 @@ public: if ( (*i >= 'A') && (*i <= 'Z')) caps++; } - if ( (caps * 100 / text.size()) > percent ) + if ( (caps * 100 / text.size()) >= percent ) { user->WriteServ( "404 %s %s :Can't send all-CAPS to channel (+P set)", user->nick, c->name); return 1; |