mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-01 09:26:37 +02:00
8a48cfb664
Reported by westor in https://bugs.unrealircd.org/view.php?id=6104 The code was there but the order of which the checks were done was wrong, so first it was checking which CAP's were unloaded and after that it was unloading the CAP, instead of the other way around. Also renamed the function to clicap_check_for_changes() to be consistent with other runtime change detection functions like extcmodes_check_for_changes(), umodes_check_for_changes() and charsys_check_for_changes().