'self.message.*' now uses 'send.message.*'

This commit is contained in:
jesopo 2018-11-14 22:54:27 +00:00
parent 1297901dca
commit e262af4acf

View file

@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule):
priority=EventManager.PRIORITY_HIGH)
def channel_message(self, event):
self._on_message(event, event["user"])
@utils.hook("self.message.channel")
@utils.hook("send.message.channel")
def self_channel_message(self, event):
self._on_message(event, event["server"].get_user(
event["server"].nickname))