From 2644f79301d3d66b0fcf6d5399520148a9860c27 Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Thu, 6 Nov 2008 21:45:10 +0000 Subject: Remove queueing on module load/unload, NOTE: don't try unload os_modunload, otherwise things probably won't go too well right now. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1564 5417fbe8-f217-4b02-8779-1006273d7864 --- include/modules.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index c85e37d21..2fe37f9c2 100644 --- a/include/modules.h +++ b/include/modules.h @@ -107,7 +107,6 @@ typedef struct Command_ Command; typedef struct CommandHash_ CommandHash; typedef struct ModuleLang_ ModuleLang; typedef struct ModuleHash_ ModuleHash; -typedef struct ModuleQueue_ ModuleQueue; typedef struct Message_ Message; typedef struct MessageHash_ MessageHash; typedef struct ModuleCallBack_ ModuleCallBack; @@ -173,14 +172,6 @@ struct ModuleHash_ { ModuleHash *next; }; -struct ModuleQueue_ { - Module *m; - ModuleOperation op; - User *u; - - ModuleQueue *next; -}; - struct Command_ { char *name; int (*routine)(User *u); @@ -372,12 +363,6 @@ void moduleDelAllDataMod(Module *m); /* remove all module data from all stru int moduleDataDebug(ModuleData **md); /* Allow for debug output of a moduleData struct */ MDE bool moduleMinVersion(int major,int minor,int patch,int build); /* Checks if the current version of anope is before or after a given verison */ -/*************************************************************************/ -/* Module Queue Operations */ -MDE int queueModuleLoad(char *name, User *u); -MDE int queueModuleUnload(char *name, User *u); -MDE void handleModuleOperationQueue(void); - /*************************************************************************/ /* Some IRCD protocol module support functions */ -- cgit