summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorrebecca <ubq323@ubq323.website>2026-02-12 22:12:54 +0000
committerrebecca <ubq323@ubq323.website>2026-02-12 22:12:54 +0000
commitb21ac16d8034685997b2e2a1cc92d7839b42509b (patch)
tree00a05067670cad5c8dbd5494b9304fc8540062cf /server
parent2ddec8b29c46f57481463abd9b56a39185986918 (diff)
add me command and paraphenalia (wip)
Diffstat (limited to 'server')
-rw-r--r--server/channel/command.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/channel/command.go b/server/channel/command.go
index 2454042..7b2f7b0 100644
--- a/server/channel/command.go
+++ b/server/channel/command.go
@@ -26,6 +26,11 @@ func (c *Channel) SendRequest(r session.Request) {
r.Reply(proto.Fail{"bad-reply", "", nil}.Cmd())
return
}
+ case "me":
+ if v != "yes" {
+ r.ReplyInvalid()
+ return
+ }
default:
r.ReplyInvalid()
return