aboutsummaryrefslogtreecommitdiff
path: root/general_network.c
diff options
context:
space:
mode:
Diffstat (limited to 'general_network.c')
-rw-r--r--general_network.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/general_network.c b/general_network.c
index 8493888..5a2bda2 100644
--- a/general_network.c
+++ b/general_network.c
@@ -555,6 +555,15 @@ int kick_channel(struct string from, struct string source, struct channel_info *
}
#endif
+#ifdef USE_SERVER
+#ifdef USE_HAXIRCD_PROTOCOL
+ protocols[HAXIRCD_PROTOCOL].propagate_kick_channel(from, source, channel, user, reason);
+#endif
+#ifdef USE_INSPIRCD2_PROTOCOL
+ protocols[INSPIRCD2_PROTOCOL].propagate_kick_channel(from, source, channel, user, reason);
+#endif
+#endif
+
return 1;
}