From a57621c74b93bf3ae8d231303f84b34013c104cb Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 11 Apr 2020 15:29:28 +0100 Subject: Rename Module::flags to Module::properties. This name is more descriptive and should create less warnings about shadowing in existing modules. --- src/modules/m_spanningtree/postcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/postcommand.cpp') 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()); -- cgit v1.3.1-10-gc9f91