diff options
| author | 2026-03-05 17:03:09 +0000 | |
|---|---|---|
| committer | 2026-03-05 17:07:09 +0000 | |
| commit | 35d04834c9d17b63cc859bf1ecebd2704f9ee741 (patch) | |
| tree | b14bac0f8df52e404a1cfae1b7923ac4c0c91035 /modules/cloak.cpp | |
| parent | Fix using the wrong parameter in the rline module. (diff) | |
Switch Reply::Type to be an enum instead of an enum class.
This is shorter and its fully disambiguated anyway.
Diffstat (limited to 'modules/cloak.cpp')
| -rw-r--r-- | modules/cloak.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cloak.cpp b/modules/cloak.cpp index c1eb5a72d..915291b66 100644 --- a/modules/cloak.cpp +++ b/modules/cloak.cpp @@ -57,13 +57,13 @@ public: if (!cloak) continue; - IRCv3::WriteReply(Reply::Type::NOTE, user, stdrplcap, this, "CLOAK_RESULT", parameters[0], cloak->ToString(), FMT::format("Cloak #{} for {} is {} (method: {})", + IRCv3::WriteReply(Reply::NOTE, user, stdrplcap, this, "CLOAK_RESULT", parameters[0], cloak->ToString(), FMT::format("Cloak #{} for {} is {} (method: {})", ++count, parameters[0], cloak->ToString(), cloakmethod->GetName())); } if (!count) { - IRCv3::WriteReply(Reply::Type::FAIL, user, stdrplcap, this, "UNABLE_TO_CLOAK", parameters[0], FMT::format("There are no methods available for cloaking {}", + IRCv3::WriteReply(Reply::FAIL, user, stdrplcap, this, "UNABLE_TO_CLOAK", parameters[0], FMT::format("There are no methods available for cloaking {}", parameters[0])); } |
