minimal who command

This commit is contained in:
Jeremy Latt
2014-02-08 18:49:52 -08:00
parent d8951e1b48
commit d370abcd4c
4 changed files with 72 additions and 1 deletions
+7
View File
@@ -18,6 +18,13 @@ type Channel struct {
type ChannelSet map[*Channel]bool
func (channels ChannelSet) First() *Channel {
for channel := range channels {
return channel
}
return nil
}
type ChannelCommand interface {
Command
HandleChannel(channel *Channel)