cyberbotx
c5b9eaeda0
Various fixes for compiling under Windows.
...
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-26 01:41:39 +00:00
cyberbotx
8431ac369b
Converted many C-style casts to C++-style casts.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1788 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-23 19:12:20 +00:00
robbeh
2d768eb325
Modules now delete themselves instead of letting the core do it (just incase 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-15 21:25:40 +00:00
rburchell
73f4cccf99
Remove unused moduleAddMessage/moduleDelMessage, move moduleCallBackRun() into ModuleManager::
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1695 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 15:45:27 +00:00
rburchell
094688603f
Cleanup some stuff to a header.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1683 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-15 00:12:54 +00:00
rburchell
6c55e0a529
Insane commit of doom: s/ \t/g
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1681 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:57:20 +00:00
rburchell
bb47ab8f41
Add Module::SetPermanent() and Module::GetPermanent(), used to mark a module 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-14 20:28:23 +00:00
rburchell
dd6f580502
Fix: make the module type checks more generic (removing a copy of code), and 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-14 20:04:11 +00:00
rburchell
e289e5ade0
Various small warning fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1668 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-14 20:02:06 +00:00
Robin Burchell w00t@inspircd.org
649a12c07f
addModule + delModule compressed into constructor/destructor.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1615 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 19:03:56 +00:00
Robin Burchell w00t@inspircd.org
65fd49d362
Move loadModule() and unloadModule() inside ModuleManager::
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1614 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 16:56:54 +00:00
Robin Burchell w00t@inspircd.org
df30d0bc2a
Move modules_core_init() to ModuleManager::LoadModuleList().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1612 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-09 03:11:54 +00:00
Robin Burchell w00t@inspircd.org
d353167118
Add module.cpp and modulemanager.cpp.
...
- 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
2008-11-09 03:03:12 +00:00