Skip to content

Commit 80031d1

Browse files
authored
Merge pull request CloudBotIRC#122 from linuxdaemon/gonzobot+attacks-fix-self
Fix format of attacks commands targeting the bot
2 parents 55092d2 + f1d23a2 commit 80031d1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/attacks.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ def func(text, conn, nick, action, message, reply, is_nick_valid):
125125

126126
if is_self(conn, target):
127127
target = nick
128+
nick = conn.nick
128129

129130
out = basic_format(nick, target, attack_data[attack.name])
130131

0 commit comments

Comments
 (0)