From: Ian Jackson Date: Thu, 30 May 2019 10:13:40 +0000 (+0100) Subject: FishPond: Use in all other bots X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~matthewv/git?a=commitdiff_plain;h=476a3dafbe2ae96962c5a16483e70ddac6553d6d;p=irc.git FishPond: Use in all other bots No functional change. Signed-off-by: Ian Jackson --- 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):