chiark / gitweb /
FishPond: introduce new class and use in Servus-chiark
[irc.git] / Servus-chiark.py
index 6d3af24c258625c62231c49635d0b79722e6337c..45b19a428e799527650e5304d9bfaa5f2b34e78a 100755 (executable)
@@ -42,17 +42,13 @@ 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
 
 # load the "blame" details for a file
 def loadblame(filename):