aboutsummaryrefslogtreecommitdiff
path: root/src/core_modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/core_modules')
-rw-r--r--src/core_modules/format_activity.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core_modules/format_activity.py b/src/core_modules/format_activity.py
index 6eb4f070..6f346356 100644
--- a/src/core_modules/format_activity.py
+++ b/src/core_modules/format_activity.py
@@ -2,6 +2,9 @@ import datetime
from src import EventManager, ModuleManager, utils
class Module(ModuleManager.BaseModule):
+ def on_load(self):
+ self.exports.add("format", self._event)
+
def _color(self, nickname):
return utils.irc.hash_colorize(nickname)