]> jfr.im git - irc/freenode/Sigyn.git/commitdiff
fix indent from previous commit
authorNicolas Coevoet <redacted>
Wed, 13 Dec 2017 12:23:31 +0000 (12:23 +0000)
committerNicolas Coevoet <redacted>
Wed, 13 Dec 2017 12:23:31 +0000 (12:23 +0000)
plugin.py

index 0e1b1c44bfb0560b49ce865428865a14c0ff7c81..35ddff4898cfdcde256944edd65e76252b8ffe35 100644 (file)
--- a/plugin.py
+++ b/plugin.py
@@ -2804,11 +2804,11 @@ class Sigyn(callbacks.Plugin,plugins.ChannelDBHandler):
                                             if nick:
                                                 prefix = '%s!%s' % (nick,u)
                                          # not 100% accurate protection, but still better than nothing
-                                         if ircdb.checkCapability(prefix, 'protected'):
-                                             break
-                                         protected = ircdb.makeChannelCapability(channel, 'protected')
-                                         if ircdb.checkCapability(prefix, protected):
-                                             break
+                                        if ircdb.checkCapability(prefix,'protected'):
+                                            break
+                                        protected = ircdb.makeChannelCapability(channel,'protected')
+                                        if ircdb.checkCapability(prefix,protected):
+                                            break
                                         self.kline(irc,prefix,u,self.registryValue('klineDuration'),'pattern creation in %s (%s)' % (channel,kind))
                                         self.logChannel(irc,"BAD: [%s] %s (pattern creation - %s)" % (channel,u,kind))
                                         break