Correct the way !givepermission checks if a user is identified

This commit is contained in:
jesopo 2018-10-11 13:16:55 +01:00
parent 2c815f4bbc
commit df150635df

View file

@ -202,7 +202,7 @@ class Module(ModuleManager.BaseModule):
target, registered, permissions = self._get_user_details(
event["server"], event["args_split"][0])
if target.identified_account == None:
if target.get_identified_account() == None:
event["stderr"].write("%s isn't registered" % target.nickname)
return