From adb6641a1780a3749d330ecfcfed10fc3874fe9f Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 29 Dec 2010 14:40:23 +0100 Subject: [PATCH] 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. --- src/core/hub.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/hub.c b/src/core/hub.c index ebcb47e..45e4e9f 100644 --- a/src/core/hub.c +++ b/src/core/hub.c @@ -1084,6 +1084,8 @@ void hub_send_status(struct hub_info* hub, struct hub_user* user, enum status_me if (level >= status_level_fatal) { + adc_msg_add_argument(qui, sid_to_string(user->id.sid)); + snprintf(buf, 230, "MS%s", escaped_text); adc_msg_add_argument(qui, buf);