X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/60f00eaac7b585fc98618e2e794b034dcc4dcbd3..f3c43addd905c2fcfdef3d8139b17137e1ab36da:/modules/chanops.py diff --git a/modules/chanops.py b/modules/chanops.py index 2e7c586..7d8f40c 100644 --- a/modules/chanops.py +++ b/modules/chanops.py @@ -27,7 +27,7 @@ def module(name): def _kick(bot, user, chan, realtarget, *args): people = [] - if args[0][0] == "#": + if args[0].startswith("#"): people = bot.parent.getuserbyauth(args[0][1:]) else: people = [args[0]]