]> jfr.im git - irc/freenode/Sigyn.git/commitdiff
little fixs
authorNicolas Coevoet <redacted>
Thu, 4 Feb 2016 08:53:46 +0000 (08:53 +0000)
committerNicolas Coevoet <redacted>
Thu, 4 Feb 2016 08:53:46 +0000 (08:53 +0000)
plugin.py

index fbcc2c31fb2fb1f1c105476b84a3f7db3bc3771e..a3dee4f1f65035074100de4120fb8246888ac732 100644 (file)
--- a/plugin.py
+++ b/plugin.py
@@ -1949,7 +1949,7 @@ class Sigyn(callbacks.Plugin,plugins.ChannelDBHandler):
                 if i.efnet or i.defcon:
                     log = 'BAD: [%s] %s (%s - EFNET) -> %s' % (channel,prefix,message,mask)
                     (nick,ident,host) = ircutils.splitHostmask(prefix)
-                    self.ban(irc,nick,prefix,mask,self.registryValue('klineDuration'),'efnet',self.registryValue('klineMessage',channel=channel),log)
+                    self.ban(irc,nick,prefix,mask,self.registryValue('klineDuration'),'efnet',self.registryValue('klineMessage'),log)
                     if len(self.registryValue('droneblKey')) and len(self.registryValue('droneblHost')) and self.registryValue('enable'):
                         self.log.debug('filling dronebl with %s' % ip)
                         t = world.SupyThread(target=fillDnsbl,name=format('fillDnsbl %s', ip),args=(ip,self.registryValue('droneblHost'),self.registryValue('droneblKey')))