| 2012 { |
2012 { |
| 2013 GaimConnection *gc; |
2013 GaimConnection *gc; |
| 2014 |
2014 |
| 2015 gc = gaim_account_get_connection((GaimAccount *) user->client_data); |
2015 gc = gaim_account_get_connection((GaimAccount *) user->client_data); |
| 2016 if (gc) |
2016 if (gc) |
| |
2017 { |
| |
2018 gc->wants_to_die = TRUE; /* we don't want to reconnect in this case */ |
| 2017 gaim_connection_error(gc, _("You have been logged out because you" |
2019 gaim_connection_error(gc, _("You have been logged out because you" |
| 2018 " logged in at another workstation.")); |
2020 " logged in at another workstation.")); |
| |
2021 } |
| 2019 } |
2022 } |
| 2020 |
2023 |
| 2021 static void |
2024 static void |
| 2022 _evt_user_typing(NMUser * user, NMEvent * event) |
2025 _evt_user_typing(NMUser * user, NMEvent * event) |
| 2023 { |
2026 { |