summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 12:08:59 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-26 12:08:59 +0000
commiteedbc9c88e6cd4dfdc31a813e4826ff84a1ae4f5 (patch)
treea145c0f76ebc4c64a577d9709ced131cdcb0d687 /src/modules/m_blockcaps.cpp
parentf9fd76eb5a2933e44984ad22b12ca53ea29f9293 (diff)
Just a little tweak so trigger values makes more sense.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6123 e03df62e-2008-0410-955e-edbf42e46eb7
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 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;