summaryrefslogtreecommitdiff
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
authorDavid Lamont <del6597@rit.edu>2015-07-01 11:24:28 -0700
committerDavid Lamont <del6597@rit.edu>2015-07-01 11:24:28 -0700
commit451784d05664d9da7b8a90af903733ee2e454353 (patch)
tree72d195d4c33d3d53c7aae14d2194d40890bd5dbb /src/modules/m_blockcaps.cpp
parent8320bcc9df1ea89a47257c9f9c70aa6d476beaa8 (diff)
m_blockcaps Reword error message to indicate 'greater than or equal to' logic when checking caps percentage
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 0a64a75b5..57f86afd1 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -74,7 +74,7 @@ public:
if (((caps * 100) / text.length()) >= percent)
{
- user->WriteNumeric(ERR_CANNOTSENDTOCHAN, "%s :Your message cannot contain more than %d%% capital letters if it's longer than %d characters", c->name.c_str(), percent, minlen);
+ user->WriteNumeric(ERR_CANNOTSENDTOCHAN, "%s :Your message cannot contain %d%% or more capital letters if it's longer than %d characters", c->name.c_str(), percent, minlen);
return MOD_RES_DENY;
}
}