patch missing format string

This commit is contained in:
mappu 2018-06-09 19:11:01 +12:00
parent dd6d1c73bb
commit 47d740c98a

View File

@ -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))