IRCv3: Fix a crash when attempting to reconnect a failed account

Review Request #3713 — Created Jan. 1, 2025 and submitted

Information

pidgin/pidgin
default

Reviewers

Purple.Account.disconnect_with_error takes ownership but we were passing it an
error that Ibis owns. So now we just give it a copy of the error.

Caused an account to fail SASL and then reconnected it from the notification and verified that it didn't crash anymore.

Summary ID
Fix a crash when attempting to reconnect a failed ircv3 account
Purple.Account.disconnect_with_error takes ownership but we were passing it an error that Ibis owns. So now we just give it a copy of the error.
2a3b249cd86128ab2ee2f6d2e746a5b4477950a7
grim
ivanhoe
  1. Ship It!
  2. 
      
grim
Review request changed
Status:
Completed