chiark
/
gitweb
/
~matthewv
/
irc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
re-word trout
[irc.git]
/
acrobat-chiark-0.2.py
diff --git
a/acrobat-chiark-0.2.py
b/acrobat-chiark-0.2.py
index 5ee0fd80ab30360b0ede6d8d1ec793a525716143..bcc25dcd664b7ec8f86649befca594bfab786212 100755
(executable)
--- a/
acrobat-chiark-0.2.py
+++ b/
acrobat-chiark-0.2.py
@@
-190,7
+190,7
@@
class Acrobat(SingleServerIRCBot):
target = nick
if public == 0:
if random.random() <= 0.1:
target = nick
if public == 0:
if random.random() <= 0.1:
- trout_msg+= ' (
at the instigation of %s
)' % nick
+ trout_msg+= ' (
but %s is their secret admirer
)' % nick
conn.action(self.channel, trout_msg % target)
except IndexError:
conn.notice(nick, "Who do you wish me to flirt with?")
conn.action(self.channel, trout_msg % target)
except IndexError:
conn.notice(nick, "Who do you wish me to flirt with?")
@@
-233,7
+233,7
@@
class Acrobat(SingleServerIRCBot):
self.trouts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
f.close()
f = open("flirts", "r")
self.trouts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
f.close()
f = open("flirts", "r")
- self.
trou
ts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
+ self.
flir
ts = [l.strip() for l in f.readlines() if l.find("%s") != -1]
conn.notice(nick, "I am re-armed!")
except IOError:
conn.notice(nick, "Trout re-arming failed!")
conn.notice(nick, "I am re-armed!")
except IOError:
conn.notice(nick, "Trout re-arming failed!")