diff options
Diffstat (limited to 'vendor/github.com/lrstanley/girc/handler.go')
-rw-r--r-- | vendor/github.com/lrstanley/girc/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/lrstanley/girc/handler.go b/vendor/github.com/lrstanley/girc/handler.go index 712886b3..55fd4e9c 100644 --- a/vendor/github.com/lrstanley/girc/handler.go +++ b/vendor/github.com/lrstanley/girc/handler.go @@ -287,7 +287,7 @@ func (c *Caller) Remove(cuid string) (success bool) { // on your own. func (c *Caller) remove(cuid string) (success bool) { cmd, uid := c.cuidToID(cuid) - if len(cmd) == 0 || len(uid) == 0 { + if cmd == "" || uid == "" { return false } |