summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scoop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scoop.c b/scoop.c
index 7b0afe2..922c7cd 100644
--- a/scoop.c
+++ b/scoop.c
@@ -299,7 +299,7 @@ static const char *Inner = SQL(
 		AND coalesce(contexts.query = :query, true)
 		AND coalesce(date(events.time) = date(:date), true)
 		AND coalesce(events.time >= datetime(:after), true)
-		AND coalesce(events.time <= datetime(:before), true)
+		AND coalesce(events.time < datetime(:before), true)
 		AND coalesce(events.type = :type, true)
 		AND coalesce(names.nick = :nick, true)
 		AND coalesce(names.user = :user, true)