1
0
forked from bip/bip

[log] Fix to /bip backlog x

This is fix for:
When using /bip backlog X windows with no tracked backlog (ie after a
blreset) do not show backlog
This commit is contained in:
Arnaud Cornet 2009-06-13 17:29:44 +02:00
parent 8cea2bdb71
commit 015969e86b

View File

@ -1314,7 +1314,7 @@ list_t *backlog_lines(log_t *log, const char *bl, const char *cli_nick,
else
dest = cli_nick;
if (log_has_backlog(log, bl)) {
if (log_has_backlog(log, bl) || hours) {
if (hours == 0)
ret = log_backread(log, bl, dest);
else