mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 00:03:12 +02:00
Make SVSLOGIN a broadcast, so all servers have the same svid information
for the user. Otherwise with post-connect SASL authentication you will have different login information on server X compared to server Y (the server with the user on it was always correct, though). Also, add a function called user_account_login() which is used by both SVSMODE/SVS2MODE and SVSLOGIN to send ACCOUNT messages to the channel. This too was missing for SVSLOGIN (post-authentication SASL). For this fix to be 100% effective, you need 100% UnrealIRCd 5.
This commit is contained in:
@@ -958,3 +958,4 @@ extern void sendnotice_multiline(Client *client, MultiLine *m);
|
||||
extern void unreal_del_quotes(char *i);
|
||||
extern char *unreal_add_quotes(char *str);
|
||||
extern int unreal_add_quotes_r(char *i, char *o, size_t len);
|
||||
extern void user_account_login(MessageTag *recv_mtags, Client *client);
|
||||
|
||||
Reference in New Issue
Block a user