From cf3ce6cc23401f13869f5134227e50459f2b809d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 2 Mar 2026 12:40:52 +0000 Subject: Rename ServiceProvider methods to avoid shadowing issues. --- modules/autoop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/autoop.cpp') 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; -- cgit v1.3.1-10-gc9f91