mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-28 12:36:38 +02:00
dbb2d1a5c8
This function was added a short while ago, and well it seems to be able to be possible in a module. Since the 'isupport' module is mandatory and this is ISUPPORT related, it is the right place. Can't move isupport_snapshot() because modules might not be loaded yet or things are currently unloading, i think. Not important anyway. Also, make things work if there are more changes than would fit on one isupport line. Although I didn't really test this.. Ended up splitting things in 3 helper functions to avoid some goto and/or duplicate code and stuff. The alternative was, surprisingly, even more ugly.