Bram Matthys
e6a02003f5
Delayjoin (chanmode +D): When people are de-oped we now part 'hidden' users.
...
Prevents client desynch.
2017-03-22 08:25:03 +01:00
Bram Matthys
99e087d50c
Remove temporary workaround and actually fix stuff in QUIT for delayjoin. Add new function user_can_see_member()...
2016-12-27 20:02:35 +01:00
Adam
c5af738273
Fix delayjoin
2016-12-19 17:39:25 -05:00
Bram Matthys
52df9937be
Re-indent / conform to existing code style
2016-10-01 10:20:01 +02:00
Bram Matthys
5bc9b63855
Delayjoin (+D): JOIN user before message and not after.
2016-10-01 10:15:04 +02:00
Matt Ullman
cf34e4dbe8
Fix error message in delayjoin
2015-10-13 11:49:26 -04:00
Bram Matthys
9ba9d65c7e
Add GCC typechecking: we now validate HookAdd... calls, making sure the function (pointer) is as it should. This to avoid crashes and weird behavior in case of a mismatch.
...
This resulted in 5-10 changes in the existing code where parameters were off.
Hopefully I didn't make too many mistakes when writing the hook prototypes as it was a tedious job.
An (unintentional) benefit of this new system is that you can see the hook prototypes in include/modules.h like:
/* Hook prototypes */
int hooktype_local_quit(aClient *sptr, char *comment);
....
Though, the wiki is likely a better place: https://www.unrealircd.org/docs/Dev:Hook_API
2015-09-21 11:52:00 +02:00
Bram Matthys
b33a461e9a
re-indent
2015-07-16 16:28:14 +02:00
Bram Matthys
fe14e21175
Update all MOD_TEST/MOD_INIT/MOD_LOAD/MOD_UNLOAD calls to new format
2015-07-08 18:02:19 +02:00
Bram Matthys
0cad63a232
For some reason this file was in CRLF format
2015-07-08 17:20:23 +02:00
Bram Matthys
83268d31bb
Convert all HookAddEx to HookAdd with new priority syntax (and same for HookAddVoidEx.. etc...)
2015-07-08 17:19:47 +02:00
Bram Matthys
b7d11d3e0f
Get rid of implicit declarations due to missing header file(s), now including unrealircd.h instead.
2015-05-19 11:57:04 +02:00
Unreal3.4
a6403e09b3
Uh. Well, I noticed a compilation error in the Git alpha, decided to mess with permanent.c, noticed that delayjoin.c didn't really work properly, modified delayjoin.c to send hosts with unhiding users, and here you have, a pull request from your worst nightmare.
2015-04-29 20:14:45 +00:00
Travis McArthur
e2c40c7880
Mark delayjoin as official
2014-06-07 00:41:43 -07:00
Heero
8cc0724e76
delayjoin: fix issue with timing on join causing bug
...
added hook for after data creation, before channel join complete
2014-06-05 01:04:31 -07:00
Bram Matthys
71ffba5f3b
delayjoin: internal: can store (in)visibility in integer with this module.
2014-06-04 21:01:53 +02:00
Bram Matthys
9e7c77f84b
rename module to delayjoin
2014-06-04 20:42:46 +02:00
Bram Matthys
8a45b22bad
move src/modules/m_moded.c to src/modules/chanmodes/delayjoin.c
2014-06-04 20:41:12 +02:00