Remove iwla parameter in hook functions

This commit is contained in:
2014-11-26 20:31:13 +01:00
parent 9571bf09b6
commit fec5e375e4
9 changed files with 21 additions and 21 deletions

View File

@@ -16,8 +16,8 @@ class IWLAPreAnalysisRobots(IPlugin):
return True
# Basic rule to detect robots
def hook(self, iwla):
hits = iwla.getCurrentVisists()
def hook(self):
hits = self.iwla.getCurrentVisists()
for k in hits.keys():
super_hit = hits[k]