1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

added missing ')' from last patch :) and now /last 0<number> (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
This commit is contained in:
Timo Sirainen 2001-05-30 14:45:31 +00:00 committed by cras
parent 0f62f9c21c
commit 39d54da896

View File

@ -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 = "";