chiark / gitweb /
FishPond: Actually make fish be an instance object (in other bots)
[irc.git] / config.py
index efda73884aa24c3752af994d7bc61b8d596fcee5..092ca82f2895d2810e1b3985b95be5028d3f0fae 100644 (file)
--- a/config.py
+++ b/config.py
@@ -37,7 +37,7 @@ 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 (c.FishPond):
+class Fish (c.FishPond):
        cur_fish=5
        max_fish=5
        nofish_time=60
@@ -45,6 +45,8 @@ class fish (c.FishPond):
        fish_inc=2
        Boring_Git='Nobody'
 
+fish = Fish()
+
 # load a file full of flirts or trouts
 def __load(filename):
     try: