diff options
| author | 2026-03-02 12:40:52 +0000 | |
|---|---|---|
| committer | 2026-03-02 12:40:52 +0000 | |
| commit | cf3ce6cc23401f13869f5134227e50459f2b809d (patch) | |
| tree | 88261dde94d90539b85fe4b430cbbce599be6748 /modules/showfile.cpp | |
| parent | Fix regular users being told about server operator privileges. (diff) | |
Rename ServiceProvider methods to avoid shadowing issues.
Diffstat (limited to 'modules/showfile.cpp')
| -rw-r--r-- | modules/showfile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/showfile.cpp b/modules/showfile.cpp index 38d164547..9ddfa5989 100644 --- a/modules/showfile.cpp +++ b/modules/showfile.cpp @@ -81,8 +81,8 @@ public: void UpdateSettings(const std::shared_ptr<ConfigTag>& tag, const std::string& filecontents) { - introtext = tag->getString("introtext", "Showing " + name); - endtext = tag->getString("endtext", "End of " + name); + introtext = tag->getString("introtext", "Showing " + this->service_name); + endtext = tag->getString("endtext", "End of " + this->service_name); intronumeric = tag->getNum<unsigned int>("intronumeric", RPL_RULESTART, 0, 999); textnumeric = tag->getNum<unsigned int>("numeric", RPL_RULES, 0, 999); endnumeric = tag->getNum<unsigned int>("endnumeric", RPL_RULESEND, 0, 999); |
