diff --git a/HubConnection.go b/HubConnection.go index a2058f9..7459416 100644 --- a/HubConnection.go +++ b/HubConnection.go @@ -224,7 +224,7 @@ func (this *HubConnection) processProtocolMessage(message string) { if rx_incomingTo.MatchString(commandParts[1]) { txparts := rx_incomingTo.FindStringSubmatch(commandParts[1]) if txparts[1] == this.Hco.Self.Nick && txparts[2] == txparts[3] { - this.processEvent(HubEvent{EventType: EVENT_PRIVATE, Nick: txparts[2], Message: txparts[4]}) + this.processEvent(HubEvent{EventType: EVENT_PRIVATE, Nick: txparts[2], Message: NMDCUnescape(txparts[4])}) valid = true } }