aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2017-10-12 15:55:21 +0100
committerGravatar Peter Powell2017-10-12 15:55:21 +0100
commita3e0768758ca68429a29d9c78ce672f2d938c6e7 (patch)
treea66b4c4f917d56e1cef8ffda450d535ea532be35 /src/modules/m_blockcaps.cpp
parentMerge pull request #1361 from genius3000/master+rline_IP (diff)
parentInclude connection security with the SASL host information. (diff)
downloadinspircd++-a3e0768758ca68429a29d9c78ce672f2d938c6e7.tar.gz
inspircd++-a3e0768758ca68429a29d9c78ce672f2d938c6e7.tar.bz2
inspircd++-a3e0768758ca68429a29d9c78ce672f2d938c6e7.zip
Merge the latest changes from insp20 into master.
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 6e67cb309..c26d92caa 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -56,7 +56,7 @@ public:
{
if (target_type == TYPE_CHANNEL)
{
- if ((!IS_LOCAL(user)) || (text.length() < minlen))
+ if ((!IS_LOCAL(user)) || (text.length() < minlen) || (text == "\1ACTION\1") || (text == "\1ACTION"))
return MOD_RES_PASSTHRU;
Channel* c = (Channel*)dest;