mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 05:49:25 +01:00
fix incorrect CTCP ACTION messages sent by roleplay
This commit is contained in:
parent
0db4b42ffe
commit
1db9cdd989
@ -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