Fixed the enchant issue
[craw.git] / script / privileges.py
bloba6b7b956254e34e39707055430d8806965be904f
1 import configuration, utility
3 def has_remote_privileges(name):
4 my_name = utility.get_my_name()
5 if name == my_name:
6 return False
8 return configuration.remote_command_privilege_users == None or name in configuration.remote_command_privilege_users
10 def is_friend(name):
11 return name in configuration.friends