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
1 changed files with 3 additions and 0 deletions

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