aboutsummaryrefslogtreecommitdiff
path: root/protocols/inspircd4.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-07-24 05:20:35 -0400
committerTest_User <hax@andrewyu.org>2024-07-24 05:23:03 -0400
commitf1d206b85bd63d59c13fc9f12e2446fe90c9c79f (patch)
treec1dbc92c3f3a1922ef92d583d58ab37dc8780324 /protocols/inspircd4.c
parent6c636818b25c9ef6d12af669914c84c94de2fd88 (diff)
downloadhaxircd-f1d206b85bd63d59c13fc9f12e2446fe90c9c79f.tar.gz
haxircd-f1d206b85bd63d59c13fc9f12e2446fe90c9c79f.zip
Fix some bugs
Diffstat (limited to 'protocols/inspircd4.c')
-rw-r--r--protocols/inspircd4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/inspircd4.c b/protocols/inspircd4.c
index d62e58b..24a2c37 100644
--- a/protocols/inspircd4.c
+++ b/protocols/inspircd4.c
@@ -574,14 +574,14 @@ void inspircd4_protocol_propagate_new_server(struct string from, struct string a
}
// [:source] SQUIT <sid> [<reason>?]
-void inspircd4_protocol_propagate_remove_server(struct string from, struct server_info *a, struct server_info *b, size_t protocol) {
+void inspircd4_protocol_propagate_remove_server(struct string from, struct server_info *server, struct string reason) {
if (server->protocol == INSPIRCD4_PROTOCOL)
return;
inspircd4_protocol_propagate(from, STRING(":"));
inspircd4_protocol_propagate(from, SID);
inspircd4_protocol_propagate(from, STRING(" SQUIT "));
- inspircd4_protocol_propagate(from, target->sid);
+ inspircd4_protocol_propagate(from, server->sid);
inspircd4_protocol_propagate(from, STRING(" :"));
if (reason.len != 0)
inspircd4_protocol_propagate(from, reason);