Robin Burchell w00t@inspircd.org
7181dc35ce
Catch ModuleException thrown from module constructors, and halt load if one is recieved.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1582 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:42:55 +00:00
Robin Burchell w00t@inspircd.org
11a99c885a
Make the logging a bit less annoyingly insane.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1581 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:37:16 +00:00
Robin Burchell w00t@inspircd.org
d18d3f094c
Convert moduleSetType() to not require a module pointer.. actually, this is probably the wrong way to go about this (we should use a member func),
...
but who cares for now.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1580 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:34:29 +00:00
Robin Burchell w00t@inspircd.org
ae6dd5d9c5
Last error fixes, more staticisation.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1575 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:07:24 +00:00
Robin Burchell w00t@inspircd.org
6adc4b6c61
Warning fixes. Staticise more of modules.c, and mark it for review.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1574 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:03:17 +00:00
Robin Burchell w00t@inspircd.org
ba73678ade
Reorganise some more of this, now makes more logical sense, and almost compiles (just some constification left).
...
NOTE: moduleCopyFile() is now local to modules.c (static), but that should not be an issue for any well-written client code.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1573 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-07 23:56:09 +00:00
Robin Burchell w00t@inspircd.org
95774907e1
Remove createModule stuff.. instead, pass string to loadModule. This still 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-07 23:52:29 +00:00
Robin Burchell w00t@inspircd.org
9e9ec919ec
Add proper constructor, move Module::name to be string.. still doesn't 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-06 23:50:03 +00:00
Robin Burchell w00t@inspircd.org
2644f79301
Remove queueing on module load/unload, NOTE: don't try unload os_modunload, 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-06 21:45:10 +00:00
Robin Burchell w00t@inspircd.org
b9aeca4708
Move createModule and destroyModule into constructor and destructor of class 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-11-06 15:48:55 +00:00
Robin Burchell w00t@inspircd.org
f85457d2a4
Merge branch 'anopeng' into anopeng-config
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1410 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 23:28:12 +00:00
Robin Burchell w00t@inspircd.org
f09953561b
Merge commit 'cbx/anopeng-charfix' into anopeng
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1408 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-03 17:37:45 +00:00
peavey peavey@inspircd.org
b1e8118623
* Fix calls to ircdproto->SendMessage and use findbot
...
* 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-03 09:52:49 +00:00
Naram Qashat cyberbotx@cyberbotx.com
6c305a3d67
Replaced anope_SendGlobops() with direct call to SendGlobops() in IRCDProto 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-02 21:02:37 +00:00
Robin Burchell w00t@inspircd.org
809ed7c2c0
Convert various to new name scheme.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1306 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-02 08:39:28 +00:00
Robin Burchell w00t@inspircd.org
dc8565e08f
Remove USE_MODULES, it'd not really work anyway.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1292 5417fbe8-f217-4b02-8779-1006273d7864
2008-10-01 21:07:44 +00:00
Robin Burchell w00t@inspircd.org
a3a360394e
Add MODULE_INIT to all modules, fix a few various crashes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1273 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org
63304b3a01
Add MODULE_INIT workaround for modules, so they are loadable. Inspired by InspIRCd solution to this.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1272 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:13 +00:00
Robin Burchell w00t@inspircd.org
c32c3c99a1
Made all protocol modules able to be compiled via mostly constifying strings.
...
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-30 18:45:10 +00:00
Robin Burchell w00t@inspircd.org
7566abd1b0
Various g++ fixes.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1178 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +00:00
mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b
1c70638d17
BUILD : 1.7.22 (1444) BUGS : NOTES : Fixed a typo in modules.c introduced in 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-16 00:43:40 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
b438196563
Fixed the nss_dns.so.1 issue
...
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-09-15 06:44:35 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
d751db2d96
Fixed moduleNoticeLang and anope_cmd_notice_ops
...
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-05-12 18:08:31 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
721a24ae21
BUILD : 1.7.21 (1354) BUGS : 833 NOTES : Ficed various oddities in 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-26 09:55:53 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
555c7ff856
BUILD : 1.7.21 (1345) BUGS : NOTES : Updated copyright information
...
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
2008-01-13 12:54:14 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
f8f64944c2
BUILD : 1.7.19 (1321) BUGS : 810 NOTES : Fixed outdated module error strings 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-12-27 19:10:36 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
f598d67c16
BUILD : 1.7.19 (1308) BUGS : 787 NOTES : Applied a patch by T fixing 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-24 17:32:33 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
01ddc377e7
BUILD : 1.7.19 (1304) BUGS : 782 NOTES : Fixed an undeclared identifier in 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-09-09 12:03:57 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
3c1a2fbfca
BUILD : 1.7.19 (1289) BUGS : 768 NOTES : Fixed module runtime directory not 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-29 19:05:59 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
4f9325f8d0
BUILD : 1.7.19 (1265) BUGS : NOTES : Updated copyright information
...
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-08-26 15:33:06 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
945b51b780
BUILD : 1.7.19 (1256) BUGS : NOTES : Moved the displaying of command infos 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-07-14 08:10:22 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
6ab1b8f131
BUILD : 1.7.18 (1231) BUGS : N/A NOTES : Ensure moduleData is still 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
2007-03-14 17:08:27 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
fa67b03616
BUILD : 1.7.17 (1212) BUGS : 652 NOTES : Fixed handleModuleOperationQueue to 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-27 15:54:10 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
c0c0a6441e
BUILD : 1.7.17 (1211) BUGS : 650 NOTES : Fixed ModuleNoticeLang which was 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-12-27 15:44:30 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
9bf8366451
BUILD : 1.7.17 (1185) BUGS : N/A NOTES : Encryption now offers the choice of 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-10-17 20:42:40 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
11b73a098c
BUILD : 1.7.14 (1124) BUGS : 552 NOTES : Added a way to modules_unload_all() 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-06 16:32:41 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
241282a395
BUILD : 1.7.14 (1121) BUGS : 491 NOTES : anope segfault on shutdown
...
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-06 08:54:51 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
f1a17e7a80
BUILD : 1.7.14 (1115) BUGS : 491 NOTES : Dont allow IRCD Protocol modules to 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-08-05 21:32:59 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
cc34de2be6
# BUILD : 1.7.14 (1087) # BUGS : 545 550 541 # NOTES : Various fixes.
...
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-14 17:38:00 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
18c0fe03fc
BUILD : 1.7.14 (1086) BUGS : N/A NOTES : Applied gds socket buffering patch, 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-13 09:51:57 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
7ceb358ec4
# BUILD : 1.7.14 (1079)
...
# 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-07-02 16:37:28 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
ddbaca79df
BUILD : 1.7.14 (1077) BUGS : N/A NOTES : renamed set_key to chan_set_key, 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-28 16:02:09 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
cff6e7eb1a
BUILD : 1.7.14 (1069) BUGS : N/A NOTES : Added support for ircd modules to 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-22 17:04:21 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
6690784bff
BUILD : 1.7.14 (1068) BUGS : N/A NOTES : Added -nothird and -support command 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-22 07:48:45 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
f059dbc236
Added version of module on error
...
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-20 22:15:27 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
a6f7ffef9b
Modules wont load invalid revisions - NOT FULLY COMPLETE YET (altho it works 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-20 22:04:47 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
ad0a95da48
BUILD : 1.7.14 (1060) BUGS : 523 NOTES : Module data was cleared before 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-18 21:44:05 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
5d0cebfa23
# BUILD : 1.7.14 (1054) # BUGS : 524 # NOTES : fixed typo in a function name.
...
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-16 21:48:19 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
b95c53765c
BUILD : 1.7.14 (1048) BUGS : 510 NOTES : Fixed a lot of redundant function 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-13 12:37:17 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
d4674e1e67
BUILD : 1.7.14 (1046) BUGS : NOTES : We were walking memory in 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-13 10:27:52 +00:00