From 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jan 2022 17:12:42 +0000 Subject: Refactor CoreException and ModuleException. --- src/extensible.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/extensible.cpp') diff --git a/src/extensible.cpp b/src/extensible.cpp index b69221570..641d62337 100644 --- a/src/extensible.cpp +++ b/src/extensible.cpp @@ -97,7 +97,7 @@ ExtensionItem::ExtensionItem(Module* mod, const std::string& Key, ExtensionType void ExtensionItem::RegisterService() { if (!ServerInstance->Extensions.Register(this)) - throw ModuleException("Extension already exists: " + name); + throw ModuleException(creator, "Extension already exists: " + name); } void* ExtensionItem::GetRaw(const Extensible* container) const -- cgit v1.3.1-10-gc9f91