3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-25 21:39:25 +01:00

fix incorrect CTCP ACTION messages sent by roleplay

This commit is contained in:
Shivaram Lingamneni 2020-12-31 14:06:19 -05:00
parent 0db4b42ffe
commit 1db9cdd989

View File

@ -62,6 +62,9 @@ func sendRoleplayMessage(server *Server, client *Client, source string, targetSt
buf.WriteString(client.Nick())
buf.WriteString(")")
}
if isAction {
buf.WriteString("\x01")
}
splitMessage := utils.MakeMessage(buf.String())