fix !lynch working in pm
This commit is contained in:
parent
d35012d739
commit
74a654a6c5
@ -3612,6 +3612,8 @@ def lynch(var, wrapper, message):
|
||||
if not message:
|
||||
show_votes.caller(wrapper.client, wrapper.source.nick, wrapper.target.name, message)
|
||||
return
|
||||
if wrapper.private:
|
||||
return
|
||||
if wrapper.source in var.WOUNDED:
|
||||
wrapper.send(messages["wounded_no_vote"].format(wrapper.source))
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user