inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit d57cad7896a4e9f78565d998e3fbd98b0b32c94e
parent f808b2db7515f735e61267ffdf25c17c03eb8521
Author: Matt Schatz <genius3000@g3k.solutions>
Date:   Wed, 13 Mar 2019 18:33:23 -0600

Fix incorrect ModResult for noctcp user target.

Diffstat:
Msrc/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 @@ -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;