From bb5d589c795918a3353d9d9537768d7dc2c1d8dd Mon Sep 17 00:00:00 2001 From: Farow Date: Sun, 13 Oct 2013 22:39:17 +0300 Subject: Open channel list window on /list --- src/common/fe.h | 1 + src/common/outbound.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/fe.h b/src/common/fe.h index 24fde989..a7287c4d 100644 --- a/src/common/fe.h +++ b/src/common/fe.h @@ -179,5 +179,6 @@ typedef enum void fe_tray_set_icon (feicon icon); void fe_tray_set_tooltip (const char *text); void fe_tray_set_balloon (const char *title, const char *text); +void fe_open_chan_list (server *serv, char *filter, int do_refresh); #endif diff --git a/src/common/outbound.c b/src/common/outbound.c index 879d0337..0b37caf5 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -2477,7 +2477,7 @@ cmd_lastlog (struct session *sess, char *tbuf, char *word[], char *word_eol[]) static int cmd_list (struct session *sess, char *tbuf, char *word[], char *word_eol[]) { - sess->server->p_list_channels (sess->server, word_eol[2], 1); + fe_open_chan_list (sess->server, word_eol[2], TRUE); return TRUE; } -- cgit 1.4.1