From a69f543be3bb6df77bfc19eaadc313d405ec2d45 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 14 Aug 2018 19:18:15 +0100 Subject: Fix a bunch more conflicting/unnamed numerics. --- src/modules/m_services_account.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_services_account.cpp') diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp index c3f7155a6..c3b84dbba 100644 --- a/src/modules/m_services_account.cpp +++ b/src/modules/m_services_account.cpp @@ -64,7 +64,7 @@ class Channel_r : public ModeHandler } else { - source->WriteNumeric(500, "Only a server may modify the +r channel mode"); + source->WriteNumeric(ERR_NOPRIVILEGES, "Only a server may modify the +r channel mode"); } return MODEACTION_DENY; } @@ -90,7 +90,7 @@ class User_r : public ModeHandler } else { - source->WriteNumeric(500, "Only a server may modify the +r user mode"); + source->WriteNumeric(ERR_NOPRIVILEGES, "Only a server may modify the +r user mode"); } return MODEACTION_DENY; } -- cgit v1.3.1-10-gc9f91