diff options
author | Matthias Hecker <mail@apoc.cc> | 2020-04-14 19:50:36 +0200 |
---|---|---|
committer | Matthias Hecker <mail@apoc.cc> | 2020-04-14 19:50:36 +0200 |
commit | 3ff83c5a5938ab63b2f5635345d90c375d1172a9 (patch) | |
tree | 738b580e8e94c2e6eecb0049be80d92a9a435202 | |
parent | fda847bf583b9cc02eda341730d53887302ffe57 (diff) |
fix nick renaming during connection
-rw-r--r-- | lib/rbot/ircbot.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 3c508229..b039e05d 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -584,7 +584,7 @@ class Bot # to inform us that our nick has been changed. if data[:target] == '*' debug "setting my connection nick to #{new}" - nick = new + @client.user.nick = new end @plugins.delegate "nicktaken", data[:nick] } |