Fixed PM commands not working.

This commit is contained in:
Vgr E.Barry 2014-12-06 23:28:44 -05:00
parent 8ecef11482
commit ecc3adba1f

View File

@ -27,7 +27,7 @@ def generate(fdict, permissions=True, **kwargs):
else: else:
nick = "" nick = ""
cloak = "" cloak = ""
if len(largs) > 3 and largs[2]: if len(largs) > 3 and largs[2] and largs[2][0] == "#":
chan = largs[2] chan = largs[2]
else: else:
chan = "" chan = ""