summaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
AgeCommit message (Collapse)Author
2008-11-28Removed mod_current_module, again, so far, no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1809 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_module_name, so far no ill-effects...cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1808 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-28Removed mod_current_user and mod_current_op, the latter of which was only an ↵cyberbotx
extern. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1807 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-26Various fixes for compiling under Windows.cyberbotx
Also updated ms_* modules to use std::vector Memo struct from earlier commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1797 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23Converted many C-style casts to C++-style casts.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Modules now delete themselves instead of letting the core do it (just incase ↵robbeh
one of them has used a custom delete operator) git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1729 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() ↵rburchell
into ModuleManager:: git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15Cleanup some stuff to a header.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Insane commit of doom: s/ \t/grburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Add Module::SetPermanent() and Module::GetPermanent(), used to mark a module ↵rburchell
as not unloadable. Used for os_modunload, as unloading it would cause issues. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1679 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Fix: make the module type checks more generic (removing a copy of code), and ↵rburchell
make them actually work properly.. that is, there should no longer be an error about protocol modules on startup. Sorry Sazpimon! git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1672 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14Various small warning fixes.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09addModule + delModule compressed into constructor/destructor.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Move loadModule() and unloadModule() inside ModuleManager::Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Move modules_core_init() to ModuleManager::LoadModuleList().Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09Add module.cpp and modulemanager.cpp.Robin Burchell w00t@inspircd.org
- module.cpp: contains (new/"good") code relating to modules. Crappy/stuff to be replaced will stay in modules.c - modulemanager.cpp: contains stuff *manipulating* modules. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1611 5417fbe8-f217-4b02-8779-1006273d7864