Bram Matthys
78695f3eea
Permit attaching client moddata to servers (and synch properly, if .synch=1)
2017-09-02 15:47:58 +02:00
Bram Matthys
fcaa69157b
Fix crash when unloading (not reloading) module that uses ModData ( #4903 ).
2017-03-22 10:51:29 +01:00
Bram Matthys
dd31542e2c
Use UID's in MD commands. Add functions / remove duplicate code. Modularize various functions
...
in src/moddata.c (move them to src/modules/m_md.c as per TODO). Looks good but more testing warranted.
2016-01-03 12:18:55 +01:00
Bram Matthys
3a93c887e4
Use UID's in MD (ModData).
2016-01-03 10:39:25 +01:00
Bram Matthys
208f4a504b
SSL Fingerprint wasn't broadcasted correctly to other servers. For Unreal this only affected WHOIS since
...
extban +e/+I ~S:xxx worked fine (only checked locally). But this also prevented services from being
informed, IOTW: services could not make use of this new certfp feature yet.
2016-01-03 10:28:15 +01:00
Bram Matthys
01244b1710
Fix OpenBSD compile problem regarding sys/timeb.h. Reported by cman351 ( #4398 ).
...
More use of unrealircd.h.
2015-09-04 11:59:53 +02:00
Bram Matthys
32aeb1fa6c
ModData: only broadcast changes if sync==1. Fix return value of moddata_client_set().
2015-05-19 12:00:12 +02:00
Bram Matthys
5ff5e01aa2
Rename moddata_client_XXX_string to moddata_client_XXX
2015-05-19 11:22:11 +02:00
Bram Matthys
7ad4b6db67
Module coders: introduce moddata_client_set_string() and moddata_client_get_string(). Will document later in ModData wiki page (which does not exist yet).
2015-05-18 17:15:02 +02:00
Bram Matthys
6f4ea900c1
Fixed pointer confusing in ModData system and made UnrealIRCd free all client ModData structures on client exit.
2015-05-18 16:42:01 +02:00
Bram Matthys
de3f9b9cc2
- Add server synching and broadcast functions for new ModData system.
...
- Also added an example module for coders (m_mdex), not compiled by default.
2014-06-01 20:06:28 +02:00
Bram Matthys
9215970b3a
actually commit the moddata.c file ;)
2014-06-01 17:37:51 +02:00