Correct the way !givepermission checks if a user is identified
This commit is contained in:
parent
2c815f4bbc
commit
df150635df
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
target, registered, permissions = self._get_user_details(
|
target, registered, permissions = self._get_user_details(
|
||||||
event["server"], event["args_split"][0])
|
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)
|
event["stderr"].write("%s isn't registered" % target.nickname)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue