diff options
Diffstat (limited to 'server/user/command.go')
| -rw-r--r-- | server/user/command.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/server/user/command.go b/server/user/command.go index 6eef81b..14a8b57 100644 --- a/server/user/command.go +++ b/server/user/command.go @@ -65,20 +65,3 @@ func (u *User) 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() - } -} |
