func HandleChatSend(cc *ClientConn, t *Transaction) (res []Transaction) {
if !cc.Authorize(accessSendChat) {
return cc.NewErrReply(t, "You are not allowed to participate in chat.")
}
// Truncate long usernames
func HandleChatSend(cc *ClientConn, t *Transaction) (res []Transaction) {
if !cc.Authorize(accessSendChat) {
return cc.NewErrReply(t, "You are not allowed to participate in chat.")
}
// Truncate long usernames