Robin Burchell w00t@inspircd.org
e701a1e2ad
Move more stuff to a module class.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1593 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 16:23:26 +00:00
Robin Burchell w00t@inspircd.org
1c3b8e15c2
moduleAddVersion -> Module::SetVersion
...
moduleAddAuthor -> Module::SetAuthor
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1590 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:54:17 +00:00
Robin Burchell w00t@inspircd.org
26cdf257cc
moduleAddEventHook -> Module::AddEventHook.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1587 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:30:43 +00:00
Robin Burchell w00t@inspircd.org
7571ca327e
moduleAddEventHook -> Module::AddEventHook, even though this seems to be unused..
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1586 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:25:59 +00:00
Robin Burchell w00t@inspircd.org
d2e5ef67e3
moduleInsertLanguage() -> Module::InsertLanguage()
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1585 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:13:19 +00:00
Robin Burchell w00t@inspircd.org
d5162d6e45
Fix various scary stuff to do with API.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1584 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 01:00:16 +00:00
Robin Burchell w00t@inspircd.org
7ac7c564f5
moduleSetType() -> Module::SetType().
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1583 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-08 00:48:04 +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
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
6946412b75
Remove unused mod_current_evtbuf.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1561 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-06 19:20:48 +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
d4140b3c26
New MODULE_INIT macro. I'm going to regret this.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1546 5417fbe8-f217-4b02-8779-1006273d7864
2008-11-04 20:28:49 +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
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
e3adfa4191
Make a bunch of stuff build under g++.
...
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1171 5417fbe8-f217-4b02-8779-1006273d7864
2008-09-30 18:45:08 +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
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
e873466498
BUILD : 1.7.19 (1255) BUGS : 743 NOTES : Fixed various compile errors with make strict
...
git-svn-id: svn://svn.anope.org/anope/trunk@1255 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@974 5417fbe8-f217-4b02-8779-1006273d7864
2007-07-09 11:24:04 +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
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
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
f1d0119044
BUILD : 1.7.14 (1045) BUGS : NOTES : Fixed ano_modclearerr() - it was not POSIX-compliant
...
git-svn-id: svn://svn.anope.org/anope/trunk@1045 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@769 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-11 17:04:12 +00:00
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
9e5bb79562
# BUILD : 1.7.14 (1041) # BUGS : 514 # NOTES : Fixed booboo. Thx to Trystan.
...
git-svn-id: svn://svn.anope.org/anope/trunk@1041 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@765 5417fbe8-f217-4b02-8779-1006273d7864
2006-06-04 10:10:26 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
08c234b850
BUILD : 1.7.11 (902) BUGS : NOTES : Changed how /os modload and /os 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-28 15:52:22 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
79a81468e6
BUILD : 1.7.10 (866) BUGS : NOTES : Added a moduleGetLangString() function 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-09-01 15:56:01 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
e058391883
BUILD : 1.7.8 (753) BUGS : N/a NOTES : Merged anope-dev with trunk
...
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-05-02 19:02:12 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
f52c92f2d8
BUILD : 1.7.8 (626) BUGS : N/A NOTES : Moved the protect defines out of the 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-03-15 23:18:30 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
59f3a38ffd
BUILD : 1.7.8 (574) BUGS : N/A NOTES : Internal Events, Win32 can build with encryption, nickIsServices() works if format is nick@services
...
git-svn-id: svn://svn.anope.org/anope/trunk@574 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@424 5417fbe8-f217-4b02-8779-1006273d7864
2005-02-14 06:01:38 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
9b3a357193
BUILD : 1.7.8 (565) BUGS : 293 NOTES : Merge of Win32 branch into the main, 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-02-06 19:18:15 +00:00
trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b
f91057c662
BUILD : 1.7.7 (556) BUGS : N/A NOTES : synced headers so our copyright is 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
2005-01-27 06:10:08 +00:00
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
ae23e2f86a
BUILD : 1.7.6 (514) BUGS : 261 NOTES : Modules can no longer call addCommand 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-30 16:51:04 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
fe0992a6ab
BUILD : 1.7.5 (351) BUGS : N/A NOTES : Rewrote the internals of moduleData, 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-09-19 10:28:02 +00:00
keeper keeper@31f1291d-b8d6-0310-a050-a5561fc1590b
e41e4cd69e
BUILD : 1.7.5 (342) BUGS : #00 NOTES : Certus: Replaced current rand-implementation with arc4random and replaced C++ comments with C-style comments (gcc 2.95 might complain).
...
git-svn-id: svn://svn.anope.org/anope/trunk@342 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@218 5417fbe8-f217-4b02-8779-1006273d7864
2004-09-09 15:51:33 +00:00
rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b
a1479a8775
BUILD : 1.7.4 (264) BUGS : N/A NOTES : Switched to autoconf - try to commit 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
2004-07-19 14:08:30 +00:00