mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-05-30 23:29:17 +03:00
chat: /back help formatting.
This commit is contained in:
parent
aae5bc8d2e
commit
c3dccfd3eb
@ -480,7 +480,7 @@ func InitCommands(c *Commands) {
|
|||||||
|
|
||||||
c.Add(Command{
|
c.Add(Command{
|
||||||
Prefix: "/back",
|
Prefix: "/back",
|
||||||
Help: "Set yourself as back, clear away status",
|
Help: "Clear away status.",
|
||||||
Handler: func(room *Room, msg message.CommandMsg) error {
|
Handler: func(room *Room, msg message.CommandMsg) error {
|
||||||
isAway, _, _ := msg.From().GetAway()
|
isAway, _, _ := msg.From().GetAway()
|
||||||
if isAway {
|
if isAway {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user