diff options
| author | 2022-06-26 17:01:54 +0100 | |
|---|---|---|
| committer | 2022-06-26 17:01:54 +0100 | |
| commit | dc3df034062a3faccb9ed0777e99dde89776d52e (patch) | |
| tree | 3a7c6adb83752578758791f4843b10695e0aac4f /src/modules/m_globalload.cpp | |
| parent | Make clientprotocol{msg,event} and numericbuilder non-default headers. (diff) | |
Fix various bugs relating to platform-native module extensions.
Diffstat (limited to 'src/modules/m_globalload.cpp')
| -rw-r--r-- | src/modules/m_globalload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp index 5dc4ef170..6e9a0f861 100644 --- a/src/modules/m_globalload.cpp +++ b/src/modules/m_globalload.cpp @@ -80,7 +80,7 @@ public: CmdResult Handle(User* user, const Params& parameters) override { - if (InspIRCd::Match(parameters[0], "core_*" DLL_EXTENSION, ascii_case_insensitive_map)) + if (InspIRCd::Match(parameters[0], "core_*", ascii_case_insensitive_map)) { user->WriteRemoteNumeric(ERR_CANTUNLOADMODULE, parameters[0], "You cannot unload core commands!"); return CmdResult::FAILURE; |
