diff options
| author | 2025-10-22 10:56:50 +0100 | |
|---|---|---|
| committer | 2025-10-22 10:57:59 +0100 | |
| commit | 4c9920b88a10f85353ac70408b20f2defd7f21b1 (patch) | |
| tree | 271bc256d80027a4f00fdf174cbb981934121858 /modules/remove.cpp | |
| parent | Merge branch 'insp4' into master. (diff) | |
| parent | Default <dnsbl:name> to the domain of the DNSBL. (diff) | |
Merge branch 'insp4' into master.
Diffstat (limited to 'modules/remove.cpp')
| -rw-r--r-- | modules/remove.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/remove.cpp b/modules/remove.cpp index c84444356..cc75961f7 100644 --- a/modules/remove.cpp +++ b/modules/remove.cpp @@ -54,7 +54,7 @@ public: CmdResult Handle(User* user, const CommandBase::Params& parameters) override { // Keep compatibility with v3 servers by allowing them to send removes with the old order. - bool neworder = !IS_LOCAL(user) && ServerInstance->Channels.IsPrefix(parameters[0][0]); + const auto neworder = IS_LOCAL(user) || ServerInstance->Channels.IsPrefix(parameters[0][0]); const std::string& channame = parameters[neworder ? 0 : 1]; const std::string& username = parameters[neworder ? 1 : 0]; |
