mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 19:33:13 +02:00
5182c664d1
LoadPersistentPointer(modinfo, removefld_list, floodprot_free_removefld_list); SavePersistentPointer(modinfo, removefld_list); The above example was for a pointer, there are also functions for int and long, which are even more simple: LoadPersistentInt(modinfo, somevar) SavePersistentInt(modinfo, somevar) and LoadPersistentLong(modinfo, somevar) SavePersistentLong(modinfo, somevar) both are untested, but will be tested soon...