1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 07:53:13 +02:00

Update verify_link() to return rather than set the link block in a variable.

Hopefully this fixes a crash when linking (succesfully authenticated) servers,
something which only happens with GCC and only for some people in some cases.
This commit is contained in:
Bram Matthys
2022-08-03 14:53:15 +02:00
parent 7267d81278
commit 0e6fc07bd9
4 changed files with 23 additions and 30 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ int (*join_viruschan)(Client *client, TKL *tk, int type);
const char *(*StripColors)(const char *text);
void (*spamfilter_build_user_string)(char *buf, const char *nick, Client *client);
void (*send_protoctl_servers)(Client *client, int response);
int (*verify_link)(Client *client, ConfigItem_link **link_out);
ConfigItem_link *(*verify_link)(Client *client);
void (*introduce_user)(Client *to, Client *client);
void (*send_server_message)(Client *client);
void (*broadcast_md_client)(ModDataInfo *mdi, Client *client, ModData *md);