diff options
| author | 2019-04-28 23:26:50 +0200 | |
|---|---|---|
| committer | 2019-04-28 22:26:50 +0100 | |
| commit | e59cb85871f75b7603c63c6cd274d57536cf6794 (patch) | |
| tree | 7288546b1350a75ccf3341450421389f2d3736ee /src/modules/m_noctcp.cpp | |
| parent | Raise the maximum time period for the conn_join module to 15m. (diff) | |
Some more text fixes and improvements (#1618).
Diffstat (limited to 'src/modules/m_noctcp.cpp')
| -rw-r--r-- | src/modules/m_noctcp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 13b132eb3..c73f8308e 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -73,7 +73,7 @@ class ModuleNoCTCP : public Module if (!c->GetExtBanStatus(user, 'C').check(!c->IsModeSet(nc))) { - user->WriteNumeric(ERR_CANNOTSENDTOCHAN, c->name, "Can't send CTCP to channel (+C set)"); + user->WriteNumeric(ERR_CANNOTSENDTOCHAN, c->name, "Can't send CTCP to channel (+C is set)"); return MOD_RES_DENY; } } @@ -85,7 +85,7 @@ class ModuleNoCTCP : public Module User* u = target.Get<User>(); if (u->IsModeSet(ncu)) { - user->WriteNumeric(ERR_CANTSENDTOUSER, u->nick, "Can't send CTCP to user (+T set)"); + user->WriteNumeric(ERR_CANTSENDTOUSER, u->nick, "Can't send CTCP to user (+T is set)"); return MOD_RES_DENY; } } |
