always set an nmdc clientversion
This commit is contained in:
parent
610563b35c
commit
59abd3c50c
1
main.go
1
main.go
@ -48,6 +48,7 @@ func (this *App) HubWorker(Nick, Pass string, so socketio.Socket, done chan stru
|
|||||||
|
|
||||||
selfUser := libnmdc.NewUserInfo(Nick)
|
selfUser := libnmdc.NewUserInfo(Nick)
|
||||||
selfUser.ClientTag = this.cfg.Hub.Tag
|
selfUser.ClientTag = this.cfg.Hub.Tag
|
||||||
|
selfUser.ClientVersion = libnmdc.DEFAULT_CLIENT_VERSION
|
||||||
|
|
||||||
hco := libnmdc.HubConnectionOptions{
|
hco := libnmdc.HubConnectionOptions{
|
||||||
Address: libnmdc.HubAddress(fmt.Sprintf("%s:%d", this.cfg.Hub.Address, this.cfg.Hub.Port)),
|
Address: libnmdc.HubAddress(fmt.Sprintf("%s:%d", this.cfg.Hub.Address, this.cfg.Hub.Port)),
|
||||||
|
Loading…
Reference in New Issue
Block a user