fix special characters appearing in recieved PM's
This commit is contained in:
parent
b63a240e9b
commit
0a53963ec0
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user