diff options
| author | 2020-04-11 15:29:28 +0100 | |
|---|---|---|
| committer | 2020-04-11 15:43:54 +0100 | |
| commit | a57621c74b93bf3ae8d231303f84b34013c104cb (patch) | |
| tree | f80026d7e53fa4abf3aab3dd2d2efdb62e3c9ea3 /src/modules/m_spanningtree/postcommand.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
| download | inspircd++-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.cpp | 2 |
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()); |
