aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/database.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/db/database.go b/db/database.go
index 8845f24..0b44404 100644
--- a/db/database.go
+++ b/db/database.go
@@ -2371,11 +2371,7 @@ func IsReplyToOP(op string, link string) (string, bool, error) {
return id, false, err
}
- if id != "" {
- return id, true, nil
- }
-
- return "", false, nil
+ return id, id != "", nil
}
func GetReplyOP(link string) (string, error) {