fix !lynch working in pm

This commit is contained in:
jacob1 2018-05-19 22:06:11 -04:00
parent d35012d739
commit 74a654a6c5

View File

@ -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