diff options
| author | 2022-01-07 17:12:42 +0000 | |
|---|---|---|
| committer | 2022-01-07 17:16:50 +0000 | |
| commit | 52cc8a418307ae7a551d23e6bd2d367b544e7bf9 (patch) | |
| tree | 9fff020964190f33174e78ff6201381be577d0b3 /src/extensible.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Refactor CoreException and ModuleException.
Diffstat (limited to 'src/extensible.cpp')
| -rw-r--r-- | src/extensible.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
