chiark
/
gitweb
/
~matthewv
/
irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9e1d05
)
More idiomatic version of the above change
author
matthew
<matthew>
Wed, 6 Feb 2002 20:40:47 +0000
(20:40 +0000)
committer
matthew
<matthew>
Wed, 6 Feb 2002 20:40:47 +0000
(20:40 +0000)
acrobat-chiark-0.2.py
patch
|
blob
|
history
diff --git
a/acrobat-chiark-0.2.py
b/acrobat-chiark-0.2.py
index 6cb3bfdccd46b113185aa336dadbf095112fd4a5..965c96c19190c904c17befd2dc19790b73cc5c52 100755
(executable)
--- a/
acrobat-chiark-0.2.py
+++ b/
acrobat-chiark-0.2.py
@@
-182,9
+182,7
@@
class Acrobat(SingleServerIRCBot):
target = nick
if public == 0:
if random.random() <= 0.25:
- trout_msg+= ' (at the instigation of '
- trout_msg+=nick
- trout_msg+= ')'
+ trout_msg+= ' (at the instigation of %s)' % nick
conn.action(self.channel, trout_msg % target)
except IndexError:
conn.notice(nick, "Who do you wish me to trout?")