diff options
-rw-r--r-- | src/modmanager_dynamic.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp index d30f9f595..40bced74a 100644 --- a/src/modmanager_dynamic.cpp +++ b/src/modmanager_dynamic.cpp @@ -169,7 +169,8 @@ namespace { ServerInstance->GlobalCulls.Apply(); delete dll; bool rv = ServerInstance->Modules->Load(name.c_str()); - callback->Call(rv); + if (callback) + callback->Call(rv); ServerInstance->GlobalCulls.AddItem(this); } }; |