diff --git a/plugins/Channel/plugin.py b/plugins/Channel/plugin.py index bd8cd1b8c..cb4cd5c7c 100644 --- a/plugins/Channel/plugin.py +++ b/plugins/Channel/plugin.py @@ -941,7 +941,7 @@ class Channel(callbacks.Plugin): getopts({'count':''})]) @internationalizeDocstring - def alertOps(self, irc, channel, s, frm=None): + def alertOps(self, irc, msg, channel, s, frm=None): """Internal message for notifying all the #channel,ops in a channel of a given situation.""" capability = ircdb.makeChannelCapability(channel, 'op') @@ -960,7 +960,7 @@ class Channel(callbacks.Plugin): Sends to all the users in who have the ,op capability. """ - self.alertOps(irc, channel, text, frm=msg.nick) + self.alertOps(irc, msg, channel, text, frm=msg.nick) alert = wrap(alert, ['inChannel', 'text']) @internationalizeDocstring