summaryrefslogtreecommitdiff
path: root/src/helsinki.at/rhimportd/ctrlTelnet.go
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-01-05 14:59:12 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-01-05 14:59:12 (GMT)
commitc9f434c9604bf564f02ba46e445b1ab08748adac (patch)
treef2ec2085715a01f2c900ba2837e1fa593d7e11ac /src/helsinki.at/rhimportd/ctrlTelnet.go
parentff149324fb78e2cb0ae2484c79c052f38c27d4d2 (diff)
streamlined the usage of rhimport.NewContext
Diffstat (limited to 'src/helsinki.at/rhimportd/ctrlTelnet.go')
-rw-r--r--src/helsinki.at/rhimportd/ctrlTelnet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helsinki.at/rhimportd/ctrlTelnet.go b/src/helsinki.at/rhimportd/ctrlTelnet.go
index 3b703dd..da117f3 100644
--- a/src/helsinki.at/rhimportd/ctrlTelnet.go
+++ b/src/helsinki.at/rhimportd/ctrlTelnet.go
@@ -153,7 +153,7 @@ func telnetSet(c *telgo.Client, args []string, conf *rhimport.Config, rddb *rhim
var ctx *rhimport.Context
if c.UserData == nil {
- c.UserData = rhimport.NewContext(conf, rddb, "")
+ c.UserData = rhimport.NewContext(conf, rddb)
ctx = c.UserData.(*rhimport.Context)
ctx.Trusted = false
} else {