diff options
| author | 2018-08-14 19:18:15 +0100 | |
|---|---|---|
| committer | 2018-08-14 19:31:26 +0100 | |
| commit | a69f543be3bb6df77bfc19eaadc313d405ec2d45 (patch) | |
| tree | 3a8620f14ea20715ceec71df828a1a76428314b9 /src/modules/m_services_account.cpp | |
| parent | Convert CLONES to use its own numeric and batch the replies. (diff) | |
| download | inspircd++-a69f543be3bb6df77bfc19eaadc313d405ec2d45.tar.gz inspircd++-a69f543be3bb6df77bfc19eaadc313d405ec2d45.tar.bz2 inspircd++-a69f543be3bb6df77bfc19eaadc313d405ec2d45.zip | |
Fix a bunch more conflicting/unnamed numerics.
Diffstat (limited to 'src/modules/m_services_account.cpp')
| -rw-r--r-- | src/modules/m_services_account.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |
