remove received.server-notice related code
This commit is contained in:
parent
d919e5c345
commit
f6e6dd0339
2 changed files with 0 additions and 7 deletions
|
@ -155,12 +155,6 @@ class Module(ModuleManager.BaseModule):
|
|||
def self_nick(self, event):
|
||||
self._on_nick(event, event["server"].get_user(event["server"].nickname))
|
||||
|
||||
@utils.hook("received.server-notice")
|
||||
def server_notice(self, event):
|
||||
line = "-*{~NAME}- {MSG}"
|
||||
self._event("server-notice", event["server"], line, None,
|
||||
formatting={"MSG": event["message"], "~NAME": event["server"].name})
|
||||
|
||||
@utils.hook("received.invite")
|
||||
def invite(self, event):
|
||||
formatting = {"CHAN": event["target_channel"],
|
||||
|
|
|
@ -30,7 +30,6 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.hook("formatted.join")
|
||||
@utils.hook("formatted.part")
|
||||
@utils.hook("formatted.nick")
|
||||
@utils.hook("formatted.server-notice")
|
||||
@utils.hook("formatted.invite")
|
||||
@utils.hook("formatted.mode.channel")
|
||||
@utils.hook("formatted.topic")
|
||||
|
|
Loading…
Reference in a new issue