projects
/
irker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60dcbc2
)
UDP send logic works. TCP send logic doesn't.
author
Eric S. Raymond
<esr@thyrsus.com>
Thu, 27 Sep 2012 08:06:14 +0000
(
04:06
-0400)
committer
Eric S. Raymond
<esr@thyrsus.com>
Thu, 27 Sep 2012 08:06:14 +0000
(
04:06
-0400)
irkbot.py
patch
|
blob
|
history
diff --git
a/irkbot.py
b/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)