diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base.cpp b/src/base.cpp index 1e4f746af..aac66fd3f 100644 --- a/src/base.cpp +++ b/src/base.cpp @@ -137,9 +137,11 @@ Extensible::~Extensible() { for(ExtensibleStore::iterator i = extensions.begin(); i != extensions.end(); ++i) { - ExtensionItem* type = extension_types[i->first]; + ExtensionItem* type = GetItem(i->first); if (type) type->free(i->second); + else if (ServerInstance && ServerInstance->Logs) + ServerInstance->Logs->Log("BASE", ERROR, "Extension type %s is not registered", i->first.c_str()); } } |