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:
Jan Vidar Krey 2010-12-29 14:40:23 +01:00
parent 67eabb5a98
commit adb6641a17

View File

@ -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);