diff --git a/NTFServer.go b/NTFServer.go index 09da566..4132ebf 100644 --- a/NTFServer.go +++ b/NTFServer.go @@ -285,7 +285,7 @@ func (this *NTFServer) HandleHubMessage(msg upstreamMessage) { } case libnmdc.EVENT_CONNECTION_STATE_CHANGED: - log.Printf("Hub(%s): * Connection %s", msg.evt.StateChange.String()) + log.Printf("Hub(%s): * Connection %s", msg.hubNick, msg.evt.StateChange.String()) case libnmdc.EVENT_PRIVATE: err := this.DirectMessageTelegramUser(msg.telegramUserId, fmt.Sprintf("PM from user '%s': %s", msg.evt.Nick, msg.evt.Message))