1
0
Fork 0

Merge branch 'master' into mutualisation

This commit is contained in:
Chteufleur 2016-04-12 19:10:06 +02:00
commit 11b43f35bf
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ import (
)
const (
Version = "go-xmpp4steam v0.2.0"
Version = "go-xmpp4steam v0.2.1"
configurationFilePath = "xmpp4steam.cfg"
)

View File

@ -85,8 +85,9 @@ func mainSteam() {
b, err := json.Marshal(*e)
if err != nil {
log.Printf("%sFailed to json.Marshal() servers list", LogError)
} else {
ioutil.WriteFile(serverAddrs, b, 0666)
}
ioutil.WriteFile(serverAddrs, b, 0666)
case *steam.PersonaStateEvent:
ChanPresence <- e.FriendId.ToString()