X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=blobdiff_plain;f=commands.py;h=02f23034a2428f5f45aa4fb1ac9cc69b4e1ff755;hb=7f220458d4eee0b8b8f90d6e566b74d6e8c4b9e7;hp=6c5653dc9dd42119b80d1ea6a784007e762a1205;hpb=4f8f3c5d1074c14cd5e692f0544301adebde04d5;p=irc.git diff --git a/commands.py b/commands.py index 6c5653d..02f2303 100755 --- a/commands.py +++ b/commands.py @@ -54,10 +54,11 @@ def infoq(bot, cmd, nick, conn, public, karma): bot.owner, len(karma.keys()))) class FishPond: - DoS=0 - quotatime=0 - last="" - last_cfg=None + def __init__(fishpond): + fishpond.last="" + fishpond.last_cfg=None + fishpond.DoS=0 + fishpond.quotatime=0 # Check on fish stocks def fish_quota(pond):