diff options
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; |
