From d4afb359bc2a41c16cc8ce7baac58a5fad94c468 Mon Sep 17 00:00:00 2001 From: Test_User Date: Wed, 24 Jul 2024 23:48:25 -0400 Subject: Toggleable IPv4 support --- protocols/inspircd3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/inspircd3.c b/protocols/inspircd3.c index c2f4952..ba93431 100644 --- a/protocols/inspircd3.c +++ b/protocols/inspircd3.c @@ -910,7 +910,7 @@ void inspircd3_protocol_handle_unlink_server(struct string from, struct server_i int inspircd3_protocol_handle_new_user(struct string from, struct user_info *info) { struct server_info *server = get_table_index(server_list, info->server); - if (STRING_EQ(server->sid, SID) || server->protocol != INSPIRCD3_PROTOCOL) { + if (STRING_EQ(info->server, SID) || server->protocol != INSPIRCD3_PROTOCOL) { info->protocol_specific[INSPIRCD3_PROTOCOL] = 0; return 0; } @@ -934,7 +934,7 @@ int inspircd3_protocol_handle_rename_user(struct string from, struct user_info * void inspircd3_protocol_handle_remove_user(struct string from, struct user_info *info, struct string reason, char propagate) { struct server_info *server = get_table_index(server_list, info->server); - if (STRING_EQ(server->sid, SID) || server->protocol != INSPIRCD3_PROTOCOL) + if (STRING_EQ(info->server, SID) || server->protocol != INSPIRCD3_PROTOCOL) return; struct inspircd3_protocol_specific_user *prot_info = info->protocol_specific[INSPIRCD3_PROTOCOL]; -- cgit v1.2.3