From 476a3dafbe2ae96962c5a16483e70ddac6553d6d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 30 May 2019 11:13:40 +0100 Subject: [PATCH] FishPond: Use in all other bots No functional change. Signed-off-by: Ian Jackson --- Servus-artichoke.py | 4 +--- assassins.py | 4 +--- config.py | 4 +--- methsoc-freenode.py | 4 +--- methsoc.py | 4 +--- socbi.py | 4 +--- test-chiark.py | 4 +--- 7 files changed, 7 insertions(+), 21 deletions(-) diff --git a/Servus-artichoke.py b/Servus-artichoke.py index b737b89..d3c9259 100755 --- a/Servus-artichoke.py +++ b/Servus-artichoke.py @@ -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): diff --git a/assassins.py b/assassins.py index b6ed957..77e5b3d 100755 --- a/assassins.py +++ b/assassins.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): diff --git a/config.py b/config.py index 2971de1..efda738 100644 --- 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): diff --git a/methsoc-freenode.py b/methsoc-freenode.py index 91d170c..092f558 100644 --- a/methsoc-freenode.py +++ b/methsoc-freenode.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): diff --git a/methsoc.py b/methsoc.py index e1f340c..eea952f 100644 --- a/methsoc.py +++ b/methsoc.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): diff --git a/socbi.py b/socbi.py index da7d343..d673e7b 100644 --- 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): diff --git a/test-chiark.py b/test-chiark.py index f985079..b432deb 100644 --- a/test-chiark.py +++ b/test-chiark.py @@ -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): -- 2.30.2