diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base.cpp | 11 | ||||
-rw-r--r-- | src/modules/extra/m_geo_maxmind.cpp | 4 |
2 files changed, 3 insertions, 12 deletions
diff --git a/src/base.cpp b/src/base.cpp index afd561ff2..b4ea09bc9 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -284,15 +284,6 @@ void ExtensionItem::unserialize(SerializeFormat format, Extensible* container, c } } -LocalExtItem::LocalExtItem(const std::string& Key, ExtensibleType exttype, Module* mod) - : ExtensionItem(Key, exttype, mod) -{ -} - -LocalExtItem::~LocalExtItem() -{ -} - LocalStringExt::LocalStringExt(const std::string& Key, ExtensibleType exttype, Module* Owner) : SimpleExtItem<std::string>(Key, exttype, Owner) { @@ -313,7 +304,7 @@ void LocalStringExt::FromInternal(Extensible* container, const std::string& valu } LocalIntExt::LocalIntExt(const std::string& Key, ExtensibleType exttype, Module* mod) - : LocalExtItem(Key, exttype, mod) + : ExtensionItem(Key, exttype, mod) { } diff --git a/src/modules/extra/m_geo_maxmind.cpp b/src/modules/extra/m_geo_maxmind.cpp index 767d00114..b964a393c 100644 --- a/src/modules/extra/m_geo_maxmind.cpp +++ b/src/modules/extra/m_geo_maxmind.cpp @@ -32,11 +32,11 @@ #include "modules/geolocation.h" #include <maxminddb.h> -class GeolocationExtItem : public LocalExtItem +class GeolocationExtItem : public ExtensionItem { public: GeolocationExtItem(Module* parent) - : LocalExtItem("geolocation", ExtensionItem::EXT_USER, parent) + : ExtensionItem("geolocation", ExtensionItem::EXT_USER, parent) { } |