fix it harder

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

View File

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