From: Eric S. Raymond Date: Thu, 27 Sep 2012 08:06:14 +0000 (-0400) Subject: UDP send logic works. TCP send logic doesn't. X-Git-Tag: 1.0~30 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=80f6addd8ea249654e0db58bab7c6db23195f826;p=irker.git UDP send logic works. TCP send logic doesn't. --- 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)