diff options
| author | 2026-03-05 17:03:09 +0000 | |
|---|---|---|
| committer | 2026-03-05 17:07:09 +0000 | |
| commit | 35d04834c9d17b63cc859bf1ecebd2704f9ee741 (patch) | |
| tree | b14bac0f8df52e404a1cfae1b7923ac4c0c91035 /modules/setname.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/setname.cpp')
| -rw-r--r-- | modules/setname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setname.cpp b/modules/setname.cpp index ac7e3de89..3d6cfe7b1 100644 --- a/modules/setname.cpp +++ b/modules/setname.cpp @@ -76,7 +76,7 @@ public: const auto& newreal = parameters.back(); if (newreal.size() > ServerInstance->Config->Limits.MaxReal) { - IRCv3::WriteReply(Reply::Type::FAIL, user, &cap, this, "INVALID_REALNAME", "Real name is too long"); + IRCv3::WriteReply(Reply::FAIL, user, &cap, this, "INVALID_REALNAME", "Real name is too long"); return CmdResult::FAILURE; } |
