summaryrefslogtreecommitdiff
path: root/src/modules.c
AgeCommit message (Collapse)Author
2008-11-07Remove createModule stuff.. instead, pass string to loadModule. This still ↵Robin Burchell w00t@inspircd.org
isn't compiling, but it's yet another step closer. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1572 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Add proper constructor, move Module::name to be string.. still doesn't ↵Robin Burchell w00t@inspircd.org
compile, of course, as this still needs a lot more renovation. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1568 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06Remove queueing on module load/unload, NOTE: don't try unload os_modunload, ↵Robin Burchell w00t@inspircd.org
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
2008-11-06Move createModule and destroyModule into constructor and destructor of class ↵Robin Burchell w00t@inspircd.org
Module. This won't yet compile, as a lot of stuff throws around newly initialised Module * for no reason, and this needs to change. TODO: - remove mod_current_* stuff - remove module queueing (this will probably require a permanent module flag for os_modunload, but who cares). git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1560 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Merge branch 'anopeng' into anopeng-configRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1410 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03Merge commit 'cbx/anopeng-charfix' into anopengRobin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03* Fix calls to ircdproto->SendMessage and use findbotpeavey peavey@inspircd.org
* make moduleInsertLanguage take const char and convert where needed git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1402 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto ↵Naram Qashat cyberbotx@cyberbotx.com
class. Added SendGlobopsInternal() function to IRCDProto class, now SendGlobops() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1347 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02Convert various to new name scheme.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01Remove USE_MODULES, it'd not really work anyway.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1292 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add MODULE_INIT to all modules, fix a few various crashes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Add MODULE_INIT workaround for modules, so they are loadable. Inspired by ↵Robin Burchell w00t@inspircd.org
InspIRCd solution to this. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1272 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Made all protocol modules able to be compiled via mostly constifying strings.Robin Burchell w00t@inspircd.org
Due to the above, also had to constify strings in many other areas. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1202 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30Various g++ fixes.Robin Burchell w00t@inspircd.org
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1178 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-16BUILD : 1.7.22 (1444) BUGS : NOTES : Fixed a typo in modules.c introduced in ↵mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
the last commit git-svn-id: svn://svn.anope.org/anope/trunk@1444 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1158 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-15Fixed the nss_dns.so.1 issuerob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1443 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1157 5417fbe8-f217-4b02-8779-1006273d7864
2008-05-12Fixed moduleNoticeLang and anope_cmd_notice_opsrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1394 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1109 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-26BUILD : 1.7.21 (1354) BUGS : 833 NOTES : Ficed various oddities in ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
moduleAddData() git-svn-id: svn://svn.anope.org/anope/trunk@1354 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1069 5417fbe8-f217-4b02-8779-1006273d7864
2008-01-13BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1345 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1060 5417fbe8-f217-4b02-8779-1006273d7864
2007-12-27BUILD : 1.7.19 (1321) BUGS : 810 NOTES : Fixed outdated module error strings ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
in ModuleGetErrStr git-svn-id: svn://svn.anope.org/anope/trunk@1321 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1039 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-24BUILD : 1.7.19 (1308) BUGS : 787 NOTES : Applied a patch by T fixing ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
moduleGetConfigDirective disliking CRLF line-ends git-svn-id: svn://svn.anope.org/anope/trunk@1308 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1026 5417fbe8-f217-4b02-8779-1006273d7864
2007-09-09BUILD : 1.7.19 (1304) BUGS : 782 NOTES : Fixed an undeclared identifier in ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
the new code for cleaning up the modules dir on win32 git-svn-id: svn://svn.anope.org/anope/trunk@1304 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1022 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-29BUILD : 1.7.19 (1289) BUGS : 768 NOTES : Fixed module runtime directory not ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
always being cleaned up nicely git-svn-id: svn://svn.anope.org/anope/trunk@1289 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1007 5417fbe8-f217-4b02-8779-1006273d7864
2007-08-26BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1265 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@983 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-14BUILD : 1.7.19 (1256) BUGS : NOTES : Moved the displaying of command infos ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
on command add/remove to debug level 2 instead of 1 git-svn-id: svn://svn.anope.org/anope/trunk@1256 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@975 5417fbe8-f217-4b02-8779-1006273d7864
2007-03-14BUILD : 1.7.18 (1231) BUGS : N/A NOTES : Ensure moduleData is still ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
populated when anopeFini gets called when explicitaly unloading a single module. git-svn-id: svn://svn.anope.org/anope/trunk@1231 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@950 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-27BUILD : 1.7.17 (1212) BUGS : 652 NOTES : Fixed handleModuleOperationQueue to ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
also include error messages instead of only error numbers git-svn-id: svn://svn.anope.org/anope/trunk@1212 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@931 5417fbe8-f217-4b02-8779-1006273d7864
2006-12-27BUILD : 1.7.17 (1211) BUGS : 650 NOTES : Fixed ModuleNoticeLang which was ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
formatting the string twice git-svn-id: svn://svn.anope.org/anope/trunk@1211 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@930 5417fbe8-f217-4b02-8779-1006273d7864
2006-10-17BUILD : 1.7.17 (1185) BUGS : N/A NOTES : Encryption now offers the choice of ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
none, old and md5 - the md5 module is nicely taken from irc-services and actaully works, yes, real md5, in anope, wow eh? git-svn-id: svn://svn.anope.org/anope/trunk@1185 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@905 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06BUILD : 1.7.14 (1124) BUGS : 552 NOTES : Added a way to modules_unload_all() ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
to specify if we should unload the protocol module or not git-svn-id: svn://svn.anope.org/anope/trunk@1124 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@848 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-06BUILD : 1.7.14 (1121) BUGS : 491 NOTES : anope segfault on shutdown rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1121 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@845 5417fbe8-f217-4b02-8779-1006273d7864
2006-08-05BUILD : 1.7.14 (1115) BUGS : 491 NOTES : Dont allow IRCD Protocol modules to ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
be unloaded git-svn-id: svn://svn.anope.org/anope/trunk@1115 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@839 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-14# BUILD : 1.7.14 (1087) # BUGS : 545 550 541 # NOTES : Various fixes.certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1087 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@811 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-13BUILD : 1.7.14 (1086) BUGS : N/A NOTES : Applied gds socket buffering patch, ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
we should play nice with inspircd now. git-svn-id: svn://svn.anope.org/anope/trunk@1086 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@810 5417fbe8-f217-4b02-8779-1006273d7864
2006-07-02# BUILD : 1.7.14 (1079)certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
# BUGS : 529 531 # NOTES : applied trystan's fix and fixed some readonly stuff git-svn-id: svn://svn.anope.org/anope/trunk@1079 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@803 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-28BUILD : 1.7.14 (1077) BUGS : N/A NOTES : renamed set_key to chan_set_key, ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
modified modules Makefiles to not link against anope libs (its unneeded) git-svn-id: svn://svn.anope.org/anope/trunk@1077 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@801 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22BUILD : 1.7.14 (1069) BUGS : N/A NOTES : Added support for ircd modules to ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
set extra modes based on services access (plexus needs this) git-svn-id: svn://svn.anope.org/anope/trunk@1069 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@793 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-22BUILD : 1.7.14 (1068) BUGS : N/A NOTES : Added -nothird and -support command ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
line options git-svn-id: svn://svn.anope.org/anope/trunk@1068 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@792 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20Added version of module on errorrob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1066 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@790 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-20Modules wont load invalid revisions - NOT FULLY COMPLETE YET (altho it works ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
to some degree) git-svn-id: svn://svn.anope.org/anope/trunk@1065 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@789 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-18BUILD : 1.7.14 (1060) BUGS : 523 NOTES : Module data was cleared before ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
calling AnopeFini, thus being evil to saving-routines and such (like in ns_noop) git-svn-id: svn://svn.anope.org/anope/trunk@1060 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@784 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-16# BUILD : 1.7.14 (1054) # BUGS : 524 # NOTES : fixed typo in a function name.certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1057 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@781 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
declarations git-svn-id: svn://svn.anope.org/anope/trunk@1048 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@772 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-13BUILD : 1.7.14 (1046) BUGS : NOTES : We were walking memory in ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
moduleGetConfigDirecte with an allocated pointer, and free-ing it later when it was past the allocatrd space... We now store the original pointer so we can free it correctly :) git-svn-id: svn://svn.anope.org/anope/trunk@1046 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@770 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-11BUILD : 1.7.14 (1043) BUGS : NOTES : NULLified *s and *t in ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
moduleGetConfigDirective in src/modules.c by default git-svn-id: svn://svn.anope.org/anope/trunk@1043 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@767 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-03# BUILD : 1.7.14 (1040) # BUGS : 509 511 # NOTES : Fixed compiler warnigs, ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
thx to trystan. again. git-svn-id: svn://svn.anope.org/anope/trunk@1040 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@764 5417fbe8-f217-4b02-8779-1006273d7864
2006-05-13# BUILD : 1.7.14 (1031) # BUGS : 504 # NOTES : fixed memleak, thx to trystancertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@1031 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@755 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-05# BUILD : 1.7.13 (1005)certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
# BUGS : 469 # NOTES : Applied Trystan's moduleNoticeLang() patch git-svn-id: svn://svn.anope.org/anope/trunk@1005 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@730 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01# BUILD : 1.7.13 (988)certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
# BUGS : 421 436 438 # NOTES : Hooray, it's still bug-fixing-day! git-svn-id: svn://svn.anope.org/anope/trunk@989 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@714 5417fbe8-f217-4b02-8779-1006273d7864
2006-03-01BUILD : 1.7.13 (975) BUGS : 435 NOTES : Added messages explaining what ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
module status numbers mean git-svn-id: svn://svn.anope.org/anope/trunk@975 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@700 5417fbe8-f217-4b02-8779-1006273d7864