PATCH: Redirect did not work properly (Thanks MiMic)
The SID was not included in the redirect and it was thus an incorrect ADC message which were discarded by most clients.
This commit is contained in:
parent
67eabb5a98
commit
adb6641a17
@ -1084,6 +1084,8 @@ void hub_send_status(struct hub_info* hub, struct hub_user* user, enum status_me
|
|||||||
|
|
||||||
if (level >= status_level_fatal)
|
if (level >= status_level_fatal)
|
||||||
{
|
{
|
||||||
|
adc_msg_add_argument(qui, sid_to_string(user->id.sid));
|
||||||
|
|
||||||
snprintf(buf, 230, "MS%s", escaped_text);
|
snprintf(buf, 230, "MS%s", escaped_text);
|
||||||
adc_msg_add_argument(qui, buf);
|
adc_msg_add_argument(qui, buf);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user