diff options
| author | 2022-01-31 02:22:14 +0000 | |
|---|---|---|
| committer | 2022-01-31 12:01:39 +0000 | |
| commit | f6559895b25059655e2c215c3f1706182e4fa3c6 (patch) | |
| tree | 6df074344229ed942682d24ede4e4fd35d56dbab /src/extensible.cpp | |
| parent | Replace the inlined MD5 implementation with a vendored one. (diff) | |
| download | inspircd++-f6559895b25059655e2c215c3f1706182e4fa3c6.tar.gz inspircd++-f6559895b25059655e2c215c3f1706182e4fa3c6.tar.bz2 inspircd++-f6559895b25059655e2c215c3f1706182e4fa3c6.zip | |
Rename the ExtensionItem::type field to extype to avoid collisions.
Diffstat (limited to 'src/extensible.cpp')
| -rw-r--r-- | src/extensible.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extensible.cpp b/src/extensible.cpp index 1e02fc526..63bcec3d9 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -90,7 +90,7 @@ void Extensible::UnhookExtensions(const std::vector<ExtensionItem*>& items) ExtensionItem::ExtensionItem(Module* mod, const std::string& Key, ExtensionType exttype) : ServiceProvider(mod, Key, SERVICE_METADATA) - , type(exttype) + , extype(exttype) { } @@ -137,7 +137,7 @@ void ExtensionItem::Sync(const Extensible* container, void* item) if (networkstr.empty()) return; - switch (type) + switch (extype) { case ExtensionType::CHANNEL: ServerInstance->PI->SendMetaData(static_cast<const Channel*>(container), name, networkstr); |
