3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 12:42:50 +01:00

Merge pull request #1475 from slingamn/roleplay_action_bug

fix incorrect CTCP ACTION messages sent by roleplay
This commit is contained in:
Shivaram Lingamneni 2021-01-10 21:30:57 -05:00 committed by GitHub
commit f2a40b9e5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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())