summaryrefslogtreecommitdiff
path: root/server/channel/command.go
diff options
context:
space:
mode:
Diffstat (limited to 'server/channel/command.go')
-rw-r--r--server/channel/command.go17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/channel/command.go b/server/channel/command.go
index 3434326..1171d2f 100644
--- a/server/channel/command.go
+++ b/server/channel/command.go
@@ -262,20 +262,3 @@ func (c *Channel) SendRequest(r session.Request) {
r.ReplyInvalid()
}
}
-
-func (t Tombstone) SendRequest(r session.Request) {
- switch r.Cmd.Kind {
-
- case "update":
- r.Reply(proto.Fail{"bad-target", "", nil}.Cmd())
-
- case "i", "s":
- r.Reply(proto.NewCmd("i", "", t.GetInfo()))
-
- case "u":
- r.ReplyOk()
-
- default:
- r.ReplyInvalid()
- }
-}