From 80f6addd8ea249654e0db58bab7c6db23195f826 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 27 Sep 2012 04:06:14 -0400 Subject: [PATCH] UDP send logic works. TCP send logic doesn't. --- irkbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/irkbot.py b/irkbot.py index 3abfbc4..47dad13 100755 --- a/irkbot.py +++ b/irkbot.py @@ -160,9 +160,9 @@ if __name__ == "__main__": if tok.startswith(key + "="): val = tok[len(key)+1:] if key in booleans: - if val.lower == "true": + if val.lower() == "true": setattr(extractor, key, True) - elif val.lower == "false": + elif val.lower() == "false": setattr(extractor, key, False) else: setattr(extractor, key, val) -- 2.26.2