few bytes of refactoring

This commit is contained in:
jan6 2022-09-14 17:54:53 +03:00
parent 2b3e4af15a
commit 6b5080220f
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ def stuff(bot, sock):
command.util.target = target
cmd = line.params[1]
if len(cmd) > 1 and (
if cmd != "" and (
is_pm
or cmd.startswith(self_nick)
or cmd[0] in prefixes