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