Fixed a couple more typos dettach -> detach
This commit is contained in:
parent
5cbc863f33
commit
8840c03dff
|
@ -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);
|
char *strptime(const char *buf, const char *fmt, struct tm *tm, short addthem);
|
||||||
|
|
||||||
int loadModules(const char* filename);
|
int loadModules(const char* filename);
|
||||||
void dettachModules();
|
void detachModules();
|
||||||
void dettachReloadModules();
|
void detachReloadModules();
|
||||||
void attachModules();
|
void attachModules();
|
||||||
void attachMetaModModules(PLUG_LOADTIME now, const char* filename);
|
void attachMetaModModules(PLUG_LOADTIME now, const char* filename);
|
||||||
|
|
||||||
|
|
|
@ -433,7 +433,7 @@ void C_ServerDeactivate_Post() {
|
||||||
|
|
||||||
g_initialized = false;
|
g_initialized = false;
|
||||||
|
|
||||||
dettachReloadModules();
|
detachReloadModules();
|
||||||
|
|
||||||
g_auth.clear();
|
g_auth.clear();
|
||||||
g_forwards.clear();
|
g_forwards.clear();
|
||||||
|
@ -1053,9 +1053,9 @@ C_DLLEXPORT int Meta_Detach(PLUG_LOADTIME now, PL_UNLOAD_REASON reason) {
|
||||||
g_plugins.clear();
|
g_plugins.clear();
|
||||||
g_cvars.clear();
|
g_cvars.clear();
|
||||||
|
|
||||||
dettachModules();
|
detachModules();
|
||||||
|
|
||||||
// ###### Now dettach metamod modules
|
// ###### Now detach metamod modules
|
||||||
g_FakeMeta.Meta_Detach(now, reason);
|
g_FakeMeta.Meta_Detach(now, reason);
|
||||||
g_FakeMeta.ReleasePlugins();
|
g_FakeMeta.ReleasePlugins();
|
||||||
|
|
||||||
|
|
|
@ -409,7 +409,7 @@ int loadModules(const char* filename)
|
||||||
return loaded;
|
return loaded;
|
||||||
}
|
}
|
||||||
|
|
||||||
void dettachModules()
|
void detachModules()
|
||||||
{
|
{
|
||||||
CList<CModule>::iterator a = g_modules.begin();
|
CList<CModule>::iterator a = g_modules.begin();
|
||||||
|
|
||||||
|
@ -420,7 +420,7 @@ void dettachModules()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void dettachReloadModules()
|
void detachReloadModules()
|
||||||
{
|
{
|
||||||
CList<CModule>::iterator a = g_modules.begin();
|
CList<CModule>::iterator a = g_modules.begin();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user