From 1b56adb8c0946e75bb44d0aec1bc5a4b861633fe Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Fri, 12 Feb 2010 19:25:09 +0100 Subject: [PATCH] Fix wrong IQUI message. Partially fixes bug #4. --- src/core/hub.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/hub.c b/src/core/hub.c index bff56ba..1bebf35 100644 --- a/src/core/hub.c +++ b/src/core/hub.c @@ -886,14 +886,14 @@ void hub_send_status(struct hub_info* hub, struct hub_user* user, enum status_me if (level >= status_level_fatal) { snprintf(buf, 230, "MS%s", escaped_text); - adc_msg_add_argument(cmd, buf); + adc_msg_add_argument(qui, buf); if (reconnect_time != 0) { snprintf(buf, 10, "TL%d", reconnect_time); - adc_msg_add_argument(cmd, buf); + adc_msg_add_argument(qui, buf); } - route_to_user(hub, user, cmd); + route_to_user(hub, user, qui); } hub_free(escaped_text);