aboutsummaryrefslogtreecommitdiff
path: root/modules/permissions
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-22 11:48:29 +0000
committerGravatar jesopo2019-11-22 11:50:23 +0000
commit3935bf3a30a409bfae09abfe5bcb99240236ed24 (patch)
tree8db4b36198e3ebd47228cfe8bcc1032f4b5df74f /modules/permissions
parentcorrectly detect when a track has tags (lastfm) (diff)
signature
IRCUser.get_identified_account() doesn't exist anymore
Diffstat (limited to 'modules/permissions')
-rw-r--r--modules/permissions/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/permissions/__init__.py b/modules/permissions/__init__.py
index 91f62794..55cc4a68 100644
--- a/modules/permissions/__init__.py
+++ b/modules/permissions/__init__.py
@@ -6,6 +6,10 @@ HOSTMASKS_SETTING = "hostmask-account"
NO_PERMISSION = "You do not have permission to do that"
class Module(ModuleManager.BaseModule):
+ def on_load(self):
+ self.exports.add("is-identified", self._is_identified)
+ self.exports.add("account-name", self._account_name)
+
@utils.hook("new.server")
def new_server(self, event):
hostmasks = {}