Fixed missing return statement

This commit is contained in:
Sergey
2015-10-18 01:33:03 +03:00
parent b8ab9a2fc7
commit 2811f74888

View File

@@ -33,6 +33,7 @@ def on_alias_command(sender, cmd, label, args):
if not sender.hasPermission("utils.alias.allowed"):
plugin_header(recipient = sender, name = "Chat Alias")
noperm(sender)
return True
if len(args) == 0:
plugin_header(recipient = sender, name = "Chat Alias")