diff options
author | Test_User <hax@andrewyu.org> | 2024-06-14 20:24:27 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-14 20:24:27 -0400 |
commit | 55c968cbe14ab1867cdd25edca90fcb8553d853a (patch) | |
tree | 491eefc2f756bc31e8688bff0dd24aa6de3cd32b /general_network.c | |
parent | e109069edf84f41c17f9c43f9f20b6d4d2725235 (diff) | |
download | haxircd-55c968cbe14ab1867cdd25edca90fcb8553d853a.tar.gz haxircd-55c968cbe14ab1867cdd25edca90fcb8553d853a.zip |
KICK support, more HaxServ stuff
Diffstat (limited to 'general_network.c')
-rw-r--r-- | general_network.c | 9 |
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; } |