diff options
author | Matt Schatz <genius3000@g3k.solutions> | 2019-03-13 18:33:23 -0600 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-03-14 00:55:18 +0000 |
commit | d57cad7896a4e9f78565d998e3fbd98b0b32c94e (patch) | |
tree | 0941f802b05f3fc48b2c83863c5e299a3d229019 /src/modules | |
parent | f808b2db7515f735e61267ffdf25c17c03eb8521 (diff) |
Fix incorrect ModResult for noctcp user target.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_noctcp.cpp | 2 |
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; |