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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/channel/command.go b/server/channel/command.go
index 23acccb..e60bb17 100644
--- a/server/channel/command.go
+++ b/server/channel/command.go
@@ -128,7 +128,7 @@ func (c *Channel) SendRequest(r session.Request) {
}
cmd := proto.NewCmd("list", c.Id())
for m, _ := range c.Members() {
- u := c.kind.world.GetObject(m).(*user.User)
+ u := c.kind.world.GetObject(m)
cmd.Args = append(cmd.Args, u.InfoFor(r.From.UserId))
}
r.Reply(cmd)