chiark / gitweb /
FishPond: introduce new class and use in Servus-chiark
[irc.git] / commands.py
index 964dacfa41a4c1e782d0ce643798f29606672802..6c5653dc9dd42119b80d1ea6a784007e762a1205 100755 (executable)
@@ -53,6 +53,12 @@ def infoq(bot, cmd, nick, conn, public, karma):
        (bot.revision.split()[1], bot.channel, conn.get_nickname(),
         bot.owner, len(karma.keys())))
 
+class FishPond:
+    DoS=0
+    quotatime=0
+    last=""
+    last_cfg=None
+
 # Check on fish stocks
 def fish_quota(pond):
     if pond.DoS: