Fix fsay/fact broken for non-existent users

This commit is contained in:
Vgr E. Barry 2016-12-11 01:33:14 -05:00
parent dff024e5e4
commit 06486e14bd

View File

@ -7349,7 +7349,7 @@ def _say(wrapper, rest, cmd, action=False):
targ = None
if targ is None:
targ = IRCClient(target, wrapper.source.client)
targ = IRCContext(target, wrapper.source.client)
if not wrapper.source.is_admin():
if targ is not channels.Main: