Bram Matthys
d64fb8dbab
Multiple changes...
...
- Changed some useless stuff.
- Enabled EXTCMODE by default, I presume it's stable but can't promise anything.
- Module coders: changed 'allowed' callback function for umodes&snomasks,
from 'aClient *sptr' to 'aClient *sptr, int what'.
'what' will be MODE_ADD if trying to add and MODE_DEL if trying to remove.
2003-10-25 16:39:23 +00:00
Bram Matthys
2a469b1942
- Fixed a problem regarding module hooks, if a hook was called within a hook it could cause
...
problems (like pre connect hook -> exit_client -> quit hook).
2003-10-23 22:15:52 +00:00
codemastr
59d73bf18c
Added a command override system for modules
2003-09-28 19:43:15 +00:00
codemastr
d803c716d6
Added some macros for modules
2003-09-20 23:39:45 +00:00
codemastr
d051786f5c
Channel hook changes
2003-09-20 19:57:46 +00:00
codemastr
af2834d5e9
Added HOOKTYPE_REHASHFLAG
2003-09-20 00:20:36 +00:00
Bram Matthys
a316e4af6f
- Added HOOKTYPE_REMOTE_QUIT
2003-09-18 23:41:32 +00:00
Bram Matthys
2d4f52665c
- Added HOOKTYPE_LOCAL_PASS and HOOKTYPE_REMOTE_CONNECT
2003-09-18 01:31:10 +00:00
Bram Matthys
3c96db4e4d
- Added HOOKTYPE_UNKUSER_QUIT (disconnects of unregistered clients).
2003-09-14 16:17:38 +00:00
codemastr
09377cf3a0
Module system error reporting support
2003-08-24 19:41:51 +00:00
codemastr
e741087ce4
extcmode changes
2003-08-24 00:56:31 +00:00
codemastr
06b63be683
Added ModuleGetOptions and ModuleSetOptions
2003-08-04 20:40:32 +00:00
codemastr
4db7542ee1
Recoded the usermode module system
2003-08-03 23:30:12 +00:00
Bram Matthys
41a0896d6d
- First big part of modulized extended channelmodes system
2003-07-29 17:07:17 +00:00
codemastr
5ac4bae7ef
Added a system to allow modules to create snomasks
2003-07-01 19:22:24 +00:00
Bram Matthys
fce9f6463a
multiple patches:
...
- Module coders: new hooks: part, kick, chanmode, topic. changed: quit (added 'comment' param).
- Enlarged REPORT_* vars a bit.
- IPv6: UnrealIRCd can now lookup ip6.arpa addresses too (original IRCnet patch modified for
UnrealIRCd by Onliner).
2003-05-27 22:38:17 +00:00
codemastr
370acc2abe
Made it so it is no longer necessary for modules to copy the ModuleInfo structure
2003-05-10 18:53:50 +00:00
codemastr
740e86e4b9
Added a CommandExists function
2003-05-06 22:26:48 +00:00
codemastr
114cec45b1
New version flag system
2003-05-04 21:30:38 +00:00
Bram Matthys
9f4d4e674e
docs, module hook, blablabla.
2003-05-01 19:23:00 +00:00
stskeeps
40f4bb7e6c
- Mm, let's see what this checkin brings:
...
* Removed thread questions from Config, and autoconf code from
configure.in, leaving in the old macros though, but inactive
--enable-standardthreads is dead as of now
* Undefined HOOKTYPE_SCAN_INFO
* Removed CONF_EXCEPT_SCAN
* Removed locking in events, Lock/UnlockEventSystem still active for other
possible uses.
* Removed scanners, web server module
* Removed except scan {}
* Removed SCAN_API stuff from l_commands.c, win32 makefiles, etc
* Removed basically any mentions of threads in source tree, excepting
threads.h which Resolver uses on win32
* Documentation changes not done yet
2003-05-01 18:31:58 +00:00
Bram Matthys
60b77d4485
- Added EventMarkDel which marks an event for deletion for the (next) DoEvents() call.
...
- Fixed /rehash stall caused by delayed unloading of the scan module (deadlock).
2003-02-24 03:04:23 +00:00
Bram Matthys
08eb667db8
- Fixed some case insensitive checks in configfile parsing, fixed to be case sensitive.
...
- Module changes: added two hooks: HOOKTYPE_USERMSG and HOOKTYPE_CHANMSG, changed umode_get.
The HOOKTYPE_USERMSG has been tested with a +D (deaf for private msgs except for opers)
module, the channel thing not yet...
added global/local mode flag to umode_get, or use umode_lget (local) / umode_gget (global) :P.
Blah.
2003-02-18 18:29:07 +00:00
codemastr
9dd4b699b8
Cleaned up module code
2002-11-27 17:40:28 +00:00
codemastr
0ba49b9c4e
Made modules rehash under dynamic linking
2002-11-26 19:52:02 +00:00
codemastr
ce64bf6f6c
Changes to the module config system
2002-11-18 20:04:36 +00:00
codemastr
594f8646d3
Made modules able to have config directives
2002-11-18 00:54:05 +00:00
codemastr
b516697885
Dynamic hook type system
2002-03-20 19:45:20 +00:00
codemastr
f10832a977
Changed HOOKTYPE_JOIN to HOOKTYPE_LOCAL_JOIN
2002-03-19 16:41:43 +00:00
codemastr
7587d594da
Added HOOKTYPE_JOIN
2002-03-19 15:19:34 +00:00
codemastr
0c540e883f
Converted commands to use module objects
2002-03-15 23:35:55 +00:00
codemastr
fd925b3c28
Module Insanity v1
2002-03-13 20:42:40 +00:00
codemastr
c4d3ae9df1
Clean compile with -Wall
2002-03-04 21:31:01 +00:00
stskeeps
4aa8f59611
- Fixed #undef STRIPBADWORDS problem, patch by light
2002-02-18 15:37:52 +00:00
stskeeps
4fd3ec7525
.
2002-02-15 22:48:51 +00:00
stskeeps
19cd68a204
- lack of time sucks. openbsd problem
2002-02-15 22:46:33 +00:00
codemastr
d29b6498fb
Modified the _ fix to work on all OSes that need it
2002-02-11 17:08:18 +00:00
stskeeps
7c54ce70c9
- Added andi's OpenBSD fix for the symbol issue with prefix _
2002-02-11 12:24:15 +00:00
stskeeps
9daf3d0b73
- BEFORE you use event functions, LockEventSystem(), after,
...
UnlockEventSystem(). In EVENT() functions, the system _is_ locked.
This might fix the double recursion mutex problem we got.
2002-02-03 15:09:49 +00:00
codemastr
5a366beda7
Scanner config changes
2002-01-29 00:21:57 +00:00
codemastr
6b8c83ba85
Cleaned up a bunch of -Wall warnings
2002-01-27 20:28:41 +00:00
codemastr
e306a6e55c
Recoded hooks to work like events
2002-01-21 18:25:20 +00:00
codemastr
e72587c252
...
2002-01-20 20:19:40 +00:00
codemastr
0b873a2b6b
Recoded hooks to use module objects
2002-01-20 15:42:48 +00:00
codemastr
de2c5e6cc7
Various changes to the module system
2002-01-19 17:04:04 +00:00
stskeeps
ea1e7b3f70
win32 fixes, again
2001-12-21 17:18:16 +00:00
codemastr
2b2f767ca5
Added more HP-UX code
2001-12-12 21:19:30 +00:00
codemastr
c4a8e970d3
Module v3 changes
2001-12-11 23:02:58 +00:00
stskeeps
db82fc23b5
+- Module v3 bugfixes. cause: codemastr lack find n replace skill
2001-12-10 14:35:15 +00:00
stskeeps
07adb99680
+- Added module v3 code. Needs testing, and NO MODULES DOES NOT COMPILE
2001-12-09 10:44:11 +00:00