diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/autoop.cpp | |
| parent | Fix regular users being told about server operator privileges. (diff) | |
| download | inspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.tar.gz inspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.tar.bz2 inspircd++-cf3ce6cc23401f13869f5134227e50459f2b809d.zip | |
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/autoop.cpp')
| -rw-r--r-- | modules/autoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/autoop.cpp b/modules/autoop.cpp index b127b9659..f5a86ae26 100644 --- a/modules/autoop.cpp +++ b/modules/autoop.cpp @@ -81,7 +81,7 @@ public: if (mh->GetLevelRequired(change.adding) > mylevel) { source->WriteNumeric(ERR_CHANOPRIVSNEEDED, channel->name, FMT::format("You must be able to {} mode {} ({}) to {} an autoop containing it", - change.adding ? "set" : "unset", mh->GetModeChar(), mh->name, change.adding ? "add" : "remove")); + change.adding ? "set" : "unset", mh->GetModeChar(), mh->service_name, change.adding ? "add" : "remove")); return MOD_RES_DENY; } return MOD_RES_PASSTHRU; |
