chiark / gitweb /
new flirts from rejs
[irc.git] / Servus-chiark.py
index 0f40c2d044186102464562617c081ed7b172f4d7..f0be526abdf5f855cf5cb77ac6ac126032397c23 100755 (executable)
@@ -42,17 +42,15 @@ import commands as c
 
 # This fishpond is shared between trouts and flirts.  It doesn't have to be;
 # you can define as many ponds as you like.
-class fish:
+class Fish (c.FishPond):
        cur_fish=5
        max_fish=5
        nofish_time=60
        fish_time_inc=60
        fish_inc=2
-       DoS=0
        Boring_Git='Nobody'
-       quotatime=0
-       last=""
-       last_cfg=None
+
+fish = Fish()
 
 # load the "blame" details for a file
 def loadblame(filename):
@@ -70,7 +68,7 @@ def loadblame(filename):
             thing=' '.join(l[2:])
             bdb[thing]=commit
     keys=bdb.keys()
-    return bdb,keys
+    return bdb,keys,filename
     
 # load a file full of flirts or trouts
 def __load(filename):