From bce12fd38c7a3651673e9b26ad1816870db86eea Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Sat, 7 May 2011 18:29:53 +0200 Subject: [PATCH] weercd.py: fix typo, add action in weercd.conf --- test/weercd.conf | 1 + test/weercd.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/test/weercd.conf b/test/weercd.conf index 20748a0e5..6d5a1a457 100644 --- a/test/weercd.conf +++ b/test/weercd.conf @@ -4,6 +4,7 @@ host= port=7777 debug=off +action=flood wait=0 sleep=0 maxchans=5 diff --git a/test/weercd.py b/test/weercd.py index c0c07ff44..3bc304eae 100755 --- a/test/weercd.py +++ b/test/weercd.py @@ -145,7 +145,7 @@ class Client: if not self.quit: action = getoption('action') if action == 'flood': - self.acion_flood() + self.action_flood() elif action == 'user': self.action_user()