From 8840c03dff7541fdd691c27af63b3130e1faf7ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Wed, 9 Jun 2004 07:59:32 +0000 Subject: [PATCH] Fixed a couple more typos dettach -> detach --- amxmodx/amxmodx.h | 4 ++-- amxmodx/meta_api.cpp | 6 +++--- amxmodx/modules.cpp | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/amxmodx/amxmodx.h b/amxmodx/amxmodx.h index b77d4921..4fddbe25 100755 --- a/amxmodx/amxmodx.h +++ b/amxmodx/amxmodx.h @@ -217,8 +217,8 @@ const char* stristr(const char* a,const char* b); char *strptime(const char *buf, const char *fmt, struct tm *tm, short addthem); int loadModules(const char* filename); -void dettachModules(); -void dettachReloadModules(); +void detachModules(); +void detachReloadModules(); void attachModules(); void attachMetaModModules(PLUG_LOADTIME now, const char* filename); diff --git a/amxmodx/meta_api.cpp b/amxmodx/meta_api.cpp index ee4668ce..382243fd 100755 --- a/amxmodx/meta_api.cpp +++ b/amxmodx/meta_api.cpp @@ -433,7 +433,7 @@ void C_ServerDeactivate_Post() { g_initialized = false; - dettachReloadModules(); + detachReloadModules(); g_auth.clear(); g_forwards.clear(); @@ -1053,9 +1053,9 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME now, PL_UNLOAD_REASON reason) { g_plugins.clear(); g_cvars.clear(); - dettachModules(); + detachModules(); - // ###### Now dettach metamod modules + // ###### Now detach metamod modules g_FakeMeta.Meta_Detach(now, reason); g_FakeMeta.ReleasePlugins(); diff --git a/amxmodx/modules.cpp b/amxmodx/modules.cpp index f12ea240..82dd2610 100755 --- a/amxmodx/modules.cpp +++ b/amxmodx/modules.cpp @@ -409,7 +409,7 @@ int loadModules(const char* filename) return loaded; } -void dettachModules() +void detachModules() { CList::iterator a = g_modules.begin(); @@ -420,7 +420,7 @@ void dettachModules() } } -void dettachReloadModules() +void detachReloadModules() { CList::iterator a = g_modules.begin();