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?")