forked from External/ergo
partially-working sqlite-based usermasks
This commit is contained in:
parent
832a5e1e19
commit
69cdad45ac
6 changed files with 200 additions and 89 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue