The module did not take care to cancel any outstanding expiry timers on
deinit, leading the event loop to (eventually) call a function that no
longer exists.
Backport of commit
f28269362bb59ef6673d from master.
Reported-By: Ed Kellet <redacted>
void _moddeinit(module_unload_intent_t intent)
{
+ if (akick_timeout_check_timer)
+ mowgli_timer_destroy(base_eventloop, akick_timeout_check_timer);
+
service_named_unbind_command("chanserv", &cs_akick);
/* Delete sub-commands */