summaryrefslogtreecommitdiff
path: root/fetcher.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-08 00:51:37 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-08 00:51:37 (GMT)
commit2e548139a6806bab10d1b184e0120dbcb1f99c1f (patch)
treef939f43d2e635e4e946b4f0b6ae38aaed277cab0 /fetcher.go
parent6741874cf6746eecdef94da3bc34e73ac139d363 (diff)
move rddb to rhrd-go
Diffstat (limited to 'fetcher.go')
-rw-r--r--fetcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fetcher.go b/fetcher.go
index 7a196e4..e5fa29f 100644
--- a/fetcher.go
+++ b/fetcher.go
@@ -259,7 +259,7 @@ func fetcherInit() {
func checkPassword(ctx *Context, result *Result) (err error) {
ok := false
- if ok, err = ctx.rddb.CheckPassword(ctx.UserName, ctx.Password); err != nil {
+ if ok, err = ctx.db.CheckPassword(ctx.UserName, ctx.Password); err != nil {
return
}
if !ok {