chiark / gitweb /
FishPond: Use in all other bots
[irc.git] / config.py
index 1f989c6a048c36a00cdf547579e8e8372fca3e9d..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):
@@ -60,6 +58,7 @@ def __load(filename):
 # (troutlist,selftroutmsg,DoSmsg,notargetmsg,nofishmsg,fishpond,selftroutprob)
 troutcfg = (
        __load("trouts"),
+       __load("trouts-local"),
        ' (at the instigation of %s)',
        "Sorry, but %s is being a spoilsport.",
        "Who do you wish me to trout?",