Skip to content

Commit f1d23a2

Browse files
committed
Fix format of attacks commands targeting the bot
1 parent fd6e4be commit f1d23a2

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)