From d57cad7896a4e9f78565d998e3fbd98b0b32c94e Mon Sep 17 00:00:00 2001 From: Matt Schatz Date: Wed, 13 Mar 2019 18:33:23 -0600 Subject: Fix incorrect ModResult for noctcp user target. --- src/modules/m_noctcp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3