'self.message.*' now uses 'send.message.*'
This commit is contained in:
parent
1297901dca
commit
e262af4acf
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
priority=EventManager.PRIORITY_HIGH)
|
priority=EventManager.PRIORITY_HIGH)
|
||||||
def channel_message(self, event):
|
def channel_message(self, event):
|
||||||
self._on_message(event, event["user"])
|
self._on_message(event, event["user"])
|
||||||
@utils.hook("self.message.channel")
|
@utils.hook("send.message.channel")
|
||||||
def self_channel_message(self, event):
|
def self_channel_message(self, event):
|
||||||
self._on_message(event, event["server"].get_user(
|
self._on_message(event, event["server"].get_user(
|
||||||
event["server"].nickname))
|
event["server"].nickname))
|
||||||
|
|
Loading…
Reference in a new issue