From 39d54da8968a4f67b722fb357f16054cf06dd381 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 30 May 2001 14:45:31 +0000 Subject: [PATCH] added missing ')' from last patch :) and now /last 0 (eg. /last 050) also isn't treated as counter. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1522 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/lastlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fe-text/lastlog.c b/src/fe-text/lastlog.c index 3e508f10..90464bc2 100644 --- a/src/fe-text/lastlog.c +++ b/src/fe-text/lastlog.c @@ -223,8 +223,8 @@ static void cmd_lastlog(const char *data) "lastlog", &optlist, &text, &countstr, &start)) return; - if (*start == '\0' && is_numeric(text, 0) && - (*countstr == '\0' || is_numeric(countstr, 0)) { + if (*start == '\0' && is_numeric(text, 0) && *text != '0' && + (*countstr == '\0' || is_numeric(countstr, 0))) { start = countstr; countstr = text; text = "";