diff options
| author | 2022-04-16 16:16:29 +0100 | |
|---|---|---|
| committer | 2022-04-16 16:16:29 +0100 | |
| commit | 30edd1070df3ddb2ae64b61b65c25f88a0b61e49 (patch) | |
| tree | 85b33545d32405f7d531bfac2d0b991a6eba3e70 /src/modules/m_uninvite.cpp | |
| parent | Fix the command used to retrieve the number of cores on Alpine. (diff) | |
| parent | Bump peter-evans/create-pull-request from 3 to 4 (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_uninvite.cpp')
| -rw-r--r-- | src/modules/m_uninvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp index 3188f51d2..2506af94e 100644 --- a/src/modules/m_uninvite.cpp +++ b/src/modules/m_uninvite.cpp @@ -76,7 +76,7 @@ public: { if (c->GetPrefixValue(user) < HALFOP_VALUE) { - user->WriteNumeric(ERR_CHANOPRIVSNEEDED, c->name, InspIRCd::Format("You must be a channel %soperator", c->GetPrefixValue(u) == HALFOP_VALUE ? "" : "half-")); + user->WriteNumeric(Numerics::ChannelPrivilegesNeeded(c, HALFOP_VALUE, "remove an invite")); return CmdResult::FAILURE; } } |
