partially-working sqlite-based usermasks

This commit is contained in:
Jeremy Latt 2014-03-06 11:56:32 -08:00
parent 832a5e1e19
commit 69cdad45ac
6 changed files with 200 additions and 89 deletions

View file

@ -656,7 +656,7 @@ func (msg *WhoisCommand) String() string {
type WhoCommand struct {
BaseCommand
mask Mask
mask string
operatorOnly bool
}
@ -665,7 +665,7 @@ func NewWhoCommand(args []string) (editableCommand, error) {
cmd := &WhoCommand{}
if len(args) > 0 {
cmd.mask = Mask(args[0])
cmd.mask = args[0]
}
if (len(args) > 1) && (args[1] == "o") {