aboutsummaryrefslogtreecommitdiff
path: root/general_network.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-14 20:24:27 -0400
committerTest_User <hax@andrewyu.org>2024-06-14 20:24:27 -0400
commit55c968cbe14ab1867cdd25edca90fcb8553d853a (patch)
tree491eefc2f756bc31e8688bff0dd24aa6de3cd32b /general_network.c
parente109069edf84f41c17f9c43f9f20b6d4d2725235 (diff)
downloadhaxircd-55c968cbe14ab1867cdd25edca90fcb8553d853a.tar.gz
haxircd-55c968cbe14ab1867cdd25edca90fcb8553d853a.zip
KICK support, more HaxServ stuff
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;
}