aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/postcommand.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-04-11 15:29:28 +0100
committerGravatar Sadie Powell2020-04-11 15:43:54 +0100
commita57621c74b93bf3ae8d231303f84b34013c104cb (patch)
treef80026d7e53fa4abf3aab3dd2d2efdb62e3c9ea3 /src/modules/m_spanningtree/postcommand.cpp
parentMerge branch 'insp3' into master. (diff)
downloadinspircd++-a57621c74b93bf3ae8d231303f84b34013c104cb.tar.gz
inspircd++-a57621c74b93bf3ae8d231303f84b34013c104cb.tar.bz2
inspircd++-a57621c74b93bf3ae8d231303f84b34013c104cb.zip
Rename Module::flags to Module::properties.
This name is more descriptive and should create less warnings about shadowing in existing modules.
Diffstat (limited to 'src/modules/m_spanningtree/postcommand.cpp')
-rw-r--r--src/modules/m_spanningtree/postcommand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/postcommand.cpp b/src/modules/m_spanningtree/postcommand.cpp
index 70965e936..34220f865 100644
--- a/src/modules/m_spanningtree/postcommand.cpp
+++ b/src/modules/m_spanningtree/postcommand.cpp
@@ -74,7 +74,7 @@ void SpanningTreeUtilities::RouteCommand(TreeServer* origin, CommandBase* thiscm
else
{
Module* srcmodule = thiscmd->creator;
- if (!(srcmodule->flags & (VF_COMMON | VF_CORE)) && srcmodule != Creator)
+ if (!(srcmodule->properties & (VF_COMMON | VF_CORE)) && srcmodule != Creator)
{
ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "Routed command %s from non-VF_COMMON module %s",
command.c_str(), srcmodule->ModuleSourceFile.c_str());