]> jfr.im git - irc/freenode/syn.git/commitdiff
Fix unloading facilities module
authorStephen Bennett <redacted>
Sun, 2 Aug 2009 21:37:28 +0000 (22:37 +0100)
committerStephen Bennett <redacted>
Sun, 2 Aug 2009 21:37:28 +0000 (22:37 +0100)
facilities.c

index 5635411b0f5d659923a8852c9b1b812d8ae18bea..c885c47dfd256f457597bc4b74e74dd43e749300 100644 (file)
@@ -300,6 +300,7 @@ void _moddeinit()
     command_delete(&syn_facility, syn_cmdtree);
 
     hook_del_hook("user_add", facility_newuser);
+    hook_del_hook("incoming_host_change", on_host_change);
 }
 
 void facility_newuser(void *v)