summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimport
diff options
context:
space:
mode:
Diffstat (limited to 'src/helsinki.at/rhimport')
-rw-r--r--src/helsinki.at/rhimport/core.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helsinki.at/rhimport/core.go b/src/helsinki.at/rhimport/core.go
index 9927be9..986327b 100644
--- a/src/helsinki.at/rhimport/core.go
+++ b/src/helsinki.at/rhimport/core.go
@@ -86,11 +86,11 @@ type Context struct {
Cancel <-chan bool
}
-func NewContext(conf *Config, rddb *RdDbChan, user string) *Context {
+func NewContext(conf *Config, rddb *RdDbChan) *Context {
ctx := new(Context)
ctx.conf = conf
ctx.rddb = rddb
- ctx.UserName = user
+ ctx.UserName = ""
ctx.Password = ""
ctx.Trusted = false
ctx.ShowId = 0