View Issue Details

IDProjectCategoryView StatusLast Update
0005288unrealmodule apipublic2019-08-18 15:17
ReportersyzopAssigned Tosyzop 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version5.0.0-alpha1 
Summary0005288: U5: register global variables/data
DescriptionSome way for modules to register global variables or data.
So you can register "some_variable" = 1234 for instance, that will be remembered through REHASH.

This way both Gottem and me can drop some silly stuff that we have now.
TagsNo tags attached.
3rd party modules

Relationships

child of 0005279 acknowledged UnrealIRCd 5 master tracking issue 

Activities

syzop

2019-06-27 08:35

administrator   ~0020743

I think this will be next on my action list.

This would also mean some things can be moved from core to modules, like connection-flood, which is now all over the place.

syzop

2019-06-28 18:19

administrator   ~0020744

I made it even more generic and (re-)used the moddata system. There's now MODDATA_LOCALVAR and MODDATA_GLOBALVAR.

syzop

2019-06-29 09:39

administrator   ~0020746

Tested and it works. Now in use by tkldb and chanmodes/floodprot.

Issue History

Date Modified Username Field Change
2019-05-18 18:33 syzop New Issue
2019-05-18 18:34 syzop Status new => acknowledged
2019-05-18 18:34 syzop Relationship added child of 0005279
2019-06-27 08:35 syzop Note Added: 0020743
2019-06-28 18:19 syzop Note Added: 0020744
2019-06-29 09:39 syzop Assigned To => syzop
2019-06-29 09:39 syzop Status acknowledged => resolved
2019-06-29 09:39 syzop Resolution open => fixed
2019-06-29 09:39 syzop Fixed in Version => 5.0.0-alpha1
2019-06-29 09:39 syzop Note Added: 0020746
2019-08-18 15:17 syzop View Status private => public