From 47d740c98a6931c76f3ddce8b3770f4bc502b673 Mon Sep 17 00:00:00 2001 From: mappu Date: Sat, 9 Jun 2018 19:11:01 +1200 Subject: [PATCH] patch missing format string --- NTFServer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))