summaryrefslogtreecommitdiff
path: root/src/module.cpp
AgeCommit message (Collapse)Author
2010-04-22Actually use readtimeout from the config & fixed many valgrind errorsAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2905 5417fbe8-f217-4b02-8779-1006273d7864
2010-02-25Rewrote part of the Timer and CallBack code for modules to be saneAdam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2795 5417fbe8-f217-4b02-8779-1006273d7864
2009-10-18Fix a few things that bugged me when I was working on one of my own modules.cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2573 5417fbe8-f217-4b02-8779-1006273d7864
2009-09-27Removed old mod_version system for detecting module versions and replaced ↵Adam-
with the Module::GetVersion() function git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2521 5417fbe8-f217-4b02-8779-1006273d7864
2009-06-26Changed module callbacks to use new Timer APIadam-
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2338 5417fbe8-f217-4b02-8779-1006273d7864
2009-04-06Replace Set*Help() functions with virtual *ServHelp() functions that can be ↵cyberbotx
overriden in a module's Module class. Patch from Adam. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2266 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Fix a few warnings. Also move split_usermask into cs_akick, as this is the ↵rburchell
only place it is used. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2119 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-19Remove (and neuter) old event system. Not used by anything in core.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2116 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-15HelpServ has been destroyed, +1000 points. Also fixed the argument order in ↵cyberbotx
the deprecated match_wild() function. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2074 5417fbe8-f217-4b02-8779-1006273d7864
2009-02-09Squashed commit: merge next (1.9.1) back to trunk.rburchell
SVN users, NOTE: THIS WILL NOT BUILD, NOR SHOULD YOU RUN IT YET. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1953 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-03Housekeeping contact address updates.sjaz
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1914 5417fbe8-f217-4b02-8779-1006273d7864
2009-01-02Update copyrights for 2009.rburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1909 5417fbe8-f217-4b02-8779-1006273d7864
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-27Moved moduleDeleteLanguage() to Module::DeleteLanguage().cyberbotx
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1800 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-22Replaced most uses of smalloc and scalloc with new, replaced most uses of ↵cyberbotx
free with delete. NOTE: This build is unstable due to lack of memory zeroing, this will be addresses in a future commit. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1783 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 moduleAddData|GetData|DelData and all associated mess. Extensible ↵rburchell
base replaces all this in a much cleaner and more transparent fashion. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1706 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-15Nuke eventprintf() and EvtMessage from orbitrburchell
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1691 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-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-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