summaryrefslogtreecommitdiff
path: root/src/modules.c
AgeCommit message (Collapse)Author
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
2005-07-01BUILD : 1.7.10 (841) BUGS : 400 NOTES : Modules will now get a more random ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
filename in the runtime/ folder, which makes sure that no duplicate filenames will occur, which makes sure listchans can run at the same time as services since they both use the same protocol module, which in turn fixes bug 400. And all modules are now properly unloaded on shutdown :) git-svn-id: svn://svn.anope.org/anope/trunk@841 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@594 5417fbe8-f217-4b02-8779-1006273d7864
2005-07-01BUILD : 1.7.10 (840) BUGS : NOTES : Fixed most core compile warnings when ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
using make strict git-svn-id: svn://svn.anope.org/anope/trunk@840 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@593 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-26BUILD : 1.7.10 (834) BUGS : NOTES : Added hs_request to the modpack, made ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
memo_send a real global, and fixed a bug with module config stuff and PARAM_SET options git-svn-id: svn://svn.anope.org/anope/trunk@834 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@587 5417fbe8-f217-4b02-8779-1006273d7864
2005-06-03BUILD : 1.7.10 (823) BUGS : 385 391 NOTES : Moved checks for UseTokens, ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
UseTS6, and Numeric into protocol_module_init because they need the ircd struct, and split init() into two functions to load the protocol module for listnicks/listchans. git-svn-id: svn://svn.anope.org/anope/trunk@823 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@576 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-10BUILD : 1.7.9 (785) BUGS : 371 372 NOTES : Set mod_current_module_name for ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
AnopeFini and updated get_access to return -1 for non-identified users instead of 0. git-svn-id: svn://svn.anope.org/anope/trunk@785 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@545 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-06BUILD : 1.7.9 (783) BUGS : NOTES : Fixed most compiler warnings for the core ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
(not modules) when using make strict git-svn-id: svn://svn.anope.org/anope/trunk@783 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@543 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-05BUILD : 1.7.9 (776) BUGS : none NOTES : Prepended all debug messages for ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
consistency. git-svn-id: svn://svn.anope.org/anope/trunk@776 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@536 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-03BUILD : 1.7.8 (759) BUGS : NOTES : Various updates to the modulepack, and ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
fixed an issue with mod_current_module set incorrectly in some cases, making the lang functions fail git-svn-id: svn://svn.anope.org/anope/trunk@759 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@521 5417fbe8-f217-4b02-8779-1006273d7864
2005-05-02BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@753 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@516 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-16BUILD : 1.7.8 (630) BUGS : N/A NOTES : Use sstrdup instead of strdup rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@630 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@478 5417fbe8-f217-4b02-8779-1006273d7864
2005-03-15BUILD : 1.7.8 (626) BUGS : N/A NOTES : Moved the protect defines out of the ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
ircd protocol header files. git-svn-id: svn://svn.anope.org/anope/trunk@626 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@474 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06BUILD : 1.7.8 (570) BUGS : 294 NOTES : Win32 Module Load Errors trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@570 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@420 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-06BUILD : 1.7.8 (565) BUGS : 293 NOTES : Merge of Win32 branch into the main, ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
support for Unreal +I, German language updated, fixed bug vidents not updating, Setting and Removal of sqlines on forbid or drop git-svn-id: svn://svn.anope.org/anope/trunk@567 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@417 5417fbe8-f217-4b02-8779-1006273d7864
2005-01-27BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
2005, Solid IRCD compiles again, fixed sstrdup() error, updated the documentation a bit, cleaned up ratbox a bit. git-svn-id: svn://svn.anope.org/anope/trunk@556 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@409 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (516) BUGS : 261 NOTES : This should be it finally! The ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
moduleAddData function was using the old head to append/prepend the new moduleData to, but it had to use the new head. Thanks to DrStein for finding the cause! :) git-svn-id: svn://svn.anope.org/anope/trunk@516 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@370 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (515) BUGS : 261 NOTES : Fixed a few memleaks with moduleData ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
functions returning early, and fixed the list handling with deleting moduleData (thanks DrStein) git-svn-id: svn://svn.anope.org/anope/trunk@515 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@369 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (514) BUGS : 261 NOTES : Modules can no longer call addCommand ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
directly. The mod_name of the command MUST be set if it is a module. git-svn-id: svn://svn.anope.org/anope/trunk@514 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@368 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (513) BUGS : NOTES : Added warnings for NULL-args with ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
sstrdup, and NULL modname with module*Data functions. Fixed Catserv to use moduleAddCommand instead of addCommand. git-svn-id: svn://svn.anope.org/anope/trunk@513 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@367 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (512) BUGS : NOTES : Indenting src/modules.c correctly.... it ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
got skipped somehow... git-svn-id: svn://svn.anope.org/anope/trunk@512 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@366 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (511) BUGS : NOTES : Rollback to 507 geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@511 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@365 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-30BUILD : 1.7.6 (508) BUGS : 261 NOTES : docs fix to bug 261, seems to fix it ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
for me, Certus care to test? git-svn-id: svn://svn.anope.org/anope/trunk@508 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@362 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-25BUILD : 1.7.6 (499) BUGS : NOTES : Fixed several compiler warnings with make ↵geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
strict, removed 2 deprecated config vars. git-svn-id: svn://svn.anope.org/anope/trunk@499 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@353 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06BUILD : 1.7.6 (481) BUGS : NOTES : Fixed misplaced pointer in moduleaddData(). certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@481 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@335 5417fbe8-f217-4b02-8779-1006273d7864
2004-12-06BUILD : 1.7.6 (479) BUGS : 239 NOTES : Fixes infinite loop with moduleGetData() trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@479 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@333 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-25BUILD : 1.7.5 (423) BUGS : N/A NOTES : code tidy up fixes stuff under Freebsd trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@423 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@281 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-15BUILD : 1.7.5 (399) BUGS : 180, 181 NOTES : code tidy up, fixes a few items ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
from bug 180 and 181 git-svn-id: svn://svn.anope.org/anope/trunk@399 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@263 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (396) BUGS : N/A NOTES : Added arvg[0] to AnopeInit call, it ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
will contain the nick of the person who loaded the module. All existing modules are un-effected :) git-svn-id: svn://svn.anope.org/anope/trunk@396 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@261 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (395) BUGS : N/A NOTES : Fixed a typo in all source files, and ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
merged sstrdup and anopeStrDup, as they do the same thing git-svn-id: svn://svn.anope.org/anope/trunk@395 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@260 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-13BUILD : 1.7.5 (392) BUGS : N/A NOTES : More code tidy with strict enabled, ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
some clean up of Unreal32 git-svn-id: svn://svn.anope.org/anope/trunk@392 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@257 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-12BUILD : 1.7.5 (391) BUGS : N/A NOTES : Code tidy, added make strict to the ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
makefile, allowing ansi Wall pedantic to be used for compiling git-svn-id: svn://svn.anope.org/anope/trunk@391 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@256 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-10BUILD : 1.7.5 (384) BUGS : N/A NOTES : Moved veriable declaration to the top ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
of function - btw, are all these null checks needed? createCommand should never be passed NULL values, its a wasted if imho... *shrug* git-svn-id: svn://svn.anope.org/anope/trunk@384 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@253 5417fbe8-f217-4b02-8779-1006273d7864
2004-10-10BUILD : 1.7.5 (383) BUGS : N/A NOTES : glist fix - DrStein, improved on ↵trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
DrStein typo fix to init.c - TSL, tons of NULL crash checks - TSL git-svn-id: svn://svn.anope.org/anope/trunk@383 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@252 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-29BUILD : 1.7.5 (362) BUGS : 17 143 147 166 172 173 NOTES : Applied patch 927 ↵dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
provided by Trystan. git-svn-id: svn://svn.anope.org/anope/trunk@362 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@233 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19BUILD : 1.7.5 (352) BUGS : N/A NOTES : corrected a semi-colon that my ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
compiled dosnt mind, but certuss does :) git-svn-id: svn://svn.anope.org/anope/trunk@352 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@228 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-19BUILD : 1.7.5 (351) BUGS : N/A NOTES : Rewrote the internals of moduleData, ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
this will save _lots_ of memory especially on larger networks. The downside is modules using it need to make a tiny, tiny change... :/ git-svn-id: svn://svn.anope.org/anope/trunk@351 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@227 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (329) BUGS : N/A NOTES : Fixed more indent crap rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@329 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@205 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (328) BUGS : N/A NOTES : Fixed a couple of null char entrys on ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
svn git-svn-id: svn://svn.anope.org/anope/trunk@328 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@204 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-23BUILD : 1.7.5 (327) BUGS : none NOTES : Merged anope-capab into main trunk... dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@327 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@203 5417fbe8-f217-4b02-8779-1006273d7864
2004-08-04BUILD : 1.7.4 (311) BUGS : none NOTES : Running am script with new am script. dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: svn://svn.anope.org/anope/trunk@311 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@190 5417fbe8-f217-4b02-8779-1006273d7864
2004-07-19BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit ↵rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
part 1 git-svn-id: svn://svn.anope.org/anope/trunk@264 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@169 5417fbe8-f217-4b02-8779-1006273d7864