patch missing format string
This commit is contained in:
parent
dd6d1c73bb
commit
47d740c98a
@ -285,7 +285,7 @@ func (this *NTFServer) HandleHubMessage(msg upstreamMessage) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case libnmdc.EVENT_CONNECTION_STATE_CHANGED:
|
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:
|
case libnmdc.EVENT_PRIVATE:
|
||||||
err := this.DirectMessageTelegramUser(msg.telegramUserId, fmt.Sprintf("PM from user '%s': %s", msg.evt.Nick, msg.evt.Message))
|
err := this.DirectMessageTelegramUser(msg.telegramUserId, fmt.Sprintf("PM from user '%s': %s", msg.evt.Nick, msg.evt.Message))
|
||||||
|
Loading…
Reference in New Issue
Block a user