Fixed PM commands not working.
This commit is contained in:
parent
8ecef11482
commit
ecc3adba1f
@ -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 = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user