summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Schatz <genius3000@g3k.solutions>2019-03-13 18:33:23 -0600
committerPeter Powell <petpow@saberuk.com>2019-03-14 00:55:18 +0000
commitd57cad7896a4e9f78565d998e3fbd98b0b32c94e (patch)
tree0941f802b05f3fc48b2c83863c5e299a3d229019
parentf808b2db7515f735e61267ffdf25c17c03eb8521 (diff)
Fix incorrect ModResult for noctcp user target.
-rw-r--r--src/modules/m_noctcp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index af14c73ec..3a57dc184 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -80,7 +80,7 @@ class ModuleNoCTCP : public Module
if (u->IsModeSet(ncu))
{
user->WriteNumeric(ERR_CANTSENDTOUSER, u->nick, "Can't send CTCP to user (+T set)");
- return MOD_RES_PASSTHRU;
+ return MOD_RES_DENY;
}
}
return MOD_RES_PASSTHRU;