summaryrefslogtreecommitdiff
path: root/src/modules.c
AgeCommit message (Collapse)Author
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
2006-03-01BUILD : 1.7.13 (974) BUGS : 454 NOTES : Fixed a crash when passing a ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
NULL-user to moduleGetLangString git-svn-id: svn://svn.anope.org/anope/trunk@974 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@699 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-24git-svn-id: svn://svn.anope.org/anope/trunk@957 ↵certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@684 5417fbe8-f217-4b02-8779-1006273d7864
2006-01-23BUILD : 1.7.13 (956) BUGS : NOTES : applied patch provided by trystan certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@956 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@683 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-08Remove tmp modules from the runtime folder when we can. Currently we cant ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
remove them if we segfaulted, pretty much every other instance is now dealt with. git-svn-id: svn://svn.anope.org/anope/trunk@936 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@670 5417fbe8-f217-4b02-8779-1006273d7864
2005-11-02Fixed bug #403rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
Fixed segfault on /os modload a non-existing file git-svn-id: svn://svn.anope.org/anope/trunk@931 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@669 5417fbe8-f217-4b02-8779-1006273d7864
2005-10-26BUILD : 1.7.12 (917) BUGS : NOTES : Fixed module loading code to get rid of ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
a few memory leaks and to (hopefully) correctly remove runtime copies when loading fails git-svn-id: svn://svn.anope.org/anope/trunk@917 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@663 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-28BUILD : 1.7.11 (902) BUGS : NOTES : Changed how /os modload and /os ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
modunload load/unload modules; they are now handled in a queue instead of using the mod_current_* variables git-svn-id: svn://svn.anope.org/anope/trunk@902 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@648 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-20BUILD : 1.7.11 (891) BUGS : NOTES : Fixed bot ident length checking and ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
sending a reponse when loading a non-existing module git-svn-id: svn://svn.anope.org/anope/trunk@891 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@638 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-13Applied Trystans patch, fixed other issues he pointed out.rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
Note: make strict will still show a couple of warnings, i think we should leave it as is. git-svn-id: svn://svn.anope.org/anope/trunk@885 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@632 5417fbe8-f217-4b02-8779-1006273d7864
2005-09-01BUILD : 1.7.10 (866) BUGS : NOTES : Added a moduleGetLangString() function ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
to allow modules to retrieve their language strings instead of only being able to send a NOTICE with them git-svn-id: svn://svn.anope.org/anope/trunk@866 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@616 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-07BUILD : 1.7.10 (847) BUGS : NOTES : Fixed a typo when loading two protocol ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
modules git-svn-id: svn://svn.anope.org/anope/trunk@847 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@600 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-02BUILD : 1.7.10 (844) BUGS : NOTES : Fixed module languages defaulting to ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
english instead of NSDefLanguage git-svn-id: svn://svn.anope.org/anope/trunk@844 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@597 5417fbe8-f217-4b02-8779-1006273d7864