From 1e2cadfa04a889776f02f41ffaf0edca8b64b057 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 29 Nov 2002 13:53:44 +0000 Subject: [PATCH] /last -clear removes now the "lastlog would print x lines, ... use -force" complain. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3034 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/lastlog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/fe-text/lastlog.c b/src/fe-text/lastlog.c index 61fb5fc1..3919be7e 100644 --- a/src/fe-text/lastlog.c +++ b/src/fe-text/lastlog.c @@ -179,7 +179,8 @@ static void show_lastlog(const char *searchtext, GHashTable *optlist, if (len > MAX_LINES_WITHOUT_FORCE && fhandle == -1 && g_hash_table_lookup(optlist, "force") == NULL) { - printformat_window(active_win, MSGLEVEL_CLIENTNOTICE, + printformat_window(active_win, + MSGLEVEL_CLIENTNOTICE|MSGLEVEL_LASTLOG, TXT_LASTLOG_TOO_LONG, len); g_list_free(list); return;