UDP send logic works. TCP send logic doesn't.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 27 Sep 2012 08:06:14 +0000 (04:06 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 27 Sep 2012 08:06:14 +0000 (04:06 -0400)
irkbot.py

index 3abfbc40565a91a040b60ea9756e33d158bf4a5e..47dad13653e658b2e08022b8d8e959482d48a387 100755 (executable)
--- 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)