diff options
Diffstat (limited to 'include/numericbuilder.h')
-rw-r--r-- | include/numericbuilder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/numericbuilder.h b/include/numericbuilder.h index f9ca26f81..1545b36e4 100644 --- a/include/numericbuilder.h +++ b/include/numericbuilder.h @@ -234,14 +234,14 @@ class Numerics::CannotSendTo : public Numeric::Numeric } CannotSendTo(User* user, const std::string& message) - : Numeric(ERR_CANNOTSENDTOCHAN) + : Numeric(ERR_CANTSENDTOUSER) { push(user->registered & REG_NICK ? user->nick : "*"); push(message); } CannotSendTo(User* user, const std::string& what, ModeHandler* mh, bool self = false) - : Numeric(ERR_CANNOTSENDTOCHAN) + : Numeric(ERR_CANTSENDTOUSER) { push(user->registered & REG_NICK ? user->nick : "*"); push(InspIRCd::Format("You cannot send %s to this user whilst %s have the +%c (%s) mode set.", |