mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-11 06:29:29 +01:00
Merge pull request #1475 from slingamn/roleplay_action_bug
fix incorrect CTCP ACTION messages sent by roleplay
This commit is contained in:
commit
f2a40b9e5d
@ -62,6 +62,9 @@ func sendRoleplayMessage(server *Server, client *Client, source string, targetSt
|
|||||||
buf.WriteString(client.Nick())
|
buf.WriteString(client.Nick())
|
||||||
buf.WriteString(")")
|
buf.WriteString(")")
|
||||||
}
|
}
|
||||||
|
if isAction {
|
||||||
|
buf.WriteString("\x01")
|
||||||
|
}
|
||||||
|
|
||||||
splitMessage := utils.MakeMessage(buf.String())
|
splitMessage := utils.MakeMessage(buf.String())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user