diff options
author | Farow <farow_spam@lavabit.com> | 2013-10-13 22:39:17 +0300 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-10-22 13:35:28 -0400 |
commit | bb5d589c795918a3353d9d9537768d7dc2c1d8dd (patch) | |
tree | 513853973452274b6c2d8d76eba162c5128b2821 /src/common | |
parent | 6d3c176ff83052f35c0eed2ffd7aa35bf69315fb (diff) |
Open channel list window on /list
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/fe.h | 1 | ||||
-rw-r--r-- | src/common/outbound.c | 2 |
2 files changed, 2 insertions, 1 deletions
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; } |