chiark / gitweb /
FishPond: Use in all other bots
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 30 May 2019 10:13:40 +0000 (11:13 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 30 May 2019 10:15:59 +0000 (11:15 +0100)
No functional change.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Servus-artichoke.py
assassins.py
config.py
methsoc-freenode.py
methsoc.py
socbi.py
test-chiark.py

index b737b892e27c95dc1b968f536bc9b2f27de3f8b1..d3c9259fa6ee0721a39bcf9dff90f96aac8303a5 100755 (executable)
@@ -40,15 +40,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index b6ed9572ed9802f70d9f2e4f3cd5ca6de4022b49..77e5b3d79c8f029cff4ba0a8f2d3596dbf4a94f2 100755 (executable)
@@ -37,15 +37,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index 2971de1bd3d81bda5cfdb981101dd1a31495517c..efda73884aa24c3752af994d7bc61b8d596fcee5 100644 (file)
--- a/config.py
+++ b/config.py
@@ -37,15 +37,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index 91d170cca9986be230f2a8f11363aab19e00c962..092f558ad8fbe897bab8c39fe01ee4fe224329fb 100644 (file)
@@ -37,15 +37,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index e1f340cb9101a5a7992ed1255c99604202d142ae..eea952fba4cc1c1b5d521f3af7f993e842708cce 100644 (file)
@@ -37,15 +37,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index da7d343267e15a66e62b1a095b9c31284c73b73d..d673e7b282e573b626776b7cb83e98b0cb3a3bd9 100644 (file)
--- a/socbi.py
+++ b/socbi.py
@@ -37,15 +37,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
 
 # load a file full of flirts or trouts
 def __load(filename):
index f98507932e8f56648a870933470a4bcb9656b94c..b432deb1bbab307ea64cfaa424e65721fa253265 100644 (file)
@@ -40,15 +40,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
 
 # load a file full of flirts or trouts
 def __load(filename):