This commit is contained in:
Chteufleur 2016-04-09 13:50:19 +02:00
parent abfe6de004
commit 7f76a35240
3 changed files with 56 additions and 59 deletions

View File

@ -6,8 +6,6 @@ import (
"log" "log"
) )
const ( const (
CommandAuthcode = "steamAuthCodeCommand" CommandAuthcode = "steamAuthCodeCommand"
) )
@ -25,7 +23,6 @@ func execDiscoCommand(iq *xmpp.Iq) {
discoI := &xmpp.DiscoItem{JID: jid.Domain, Node: CommandAuthcode, Name: "Add Auth Code"} discoI := &xmpp.DiscoItem{JID: jid.Domain, Node: CommandAuthcode, Name: "Add Auth Code"}
discoItem.Item = append(discoItem.Item, *discoI) discoItem.Item = append(discoItem.Item, *discoI)
reply.PayloadEncode(discoItem) reply.PayloadEncode(discoItem)
comp.Out <- reply comp.Out <- reply
} }