diff options
| author | 2024-03-04 13:18:04 +0000 | |
|---|---|---|
| committer | 2024-03-04 13:18:04 +0000 | |
| commit | 5f6bf286847550f386324e1e2db6c909cbd9f318 (patch) | |
| tree | 61a50d4fff21106742f4ca6be30d92eae0191875 /src/modules/m_spanningtree | |
| parent | Merge branch 'insp3' into master. (diff) | |
Rename some of the Module member variables.
Diffstat (limited to 'src/modules/m_spanningtree')
| -rw-r--r-- | src/modules/m_spanningtree/capab.cpp | 2 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/postcommand.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_spanningtree/capab.cpp b/src/modules/m_spanningtree/capab.cpp index 84311e192..255b77ad8 100644 --- a/src/modules/m_spanningtree/capab.cpp +++ b/src/modules/m_spanningtree/capab.cpp @@ -93,7 +93,7 @@ namespace mod->CompareLinkData(otherdata, datadiff); if (!datadiff.empty()) { - diffconfig << ' ' << ModuleManager::ShrinkModName(mod->ModuleSourceFile) << " ("; + diffconfig << ' ' << ModuleManager::ShrinkModName(mod->ModuleFile) << " ("; bool first = true; for (const auto& [key, values] : datadiff) { diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index e07ae5ad8..8045fc92a 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -723,10 +723,10 @@ namespace void BroadcastModuleState(Module* mod, bool loading) { std::stringstream buffer; - buffer << (loading ? '+' : '-') << ModuleManager::ShrinkModName(mod->ModuleSourceFile); + buffer << (loading ? '+' : '-') << ModuleManager::ShrinkModName(mod->ModuleFile); std::stringstream compatbuffer; - compatbuffer << (loading ? '+' : '-') << mod->ModuleSourceFile; + compatbuffer << (loading ? '+' : '-') << mod->ModuleFile; if (loading) { diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp index f8ca25daa..cf116c414 100644 --- a/src/modules/m_spanningtree/postcommand.cpp +++ b/src/modules/m_spanningtree/postcommand.cpp @@ -77,7 +77,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm if (!(srcmodule->properties & (VF_COMMON | VF_CORE)) && srcmodule != Creator) { ServerInstance->Logs.Normal(MODNAME, "Routed command {} from non-VF_COMMON module {}", - command, srcmodule->ModuleSourceFile); + command, srcmodule->ModuleFile); return; } } |
