Mercurial > pidgin
comparison libgaim/protocols/novell/novell.c @ 14593:d24de94469f4
[gaim-migrate @ 17318]
Part of SF Patch #1559532 from Mike Stoddard
"I have also included a fix for another issue -- if the
the user is disconnected because he/she logged in
somewhere else we don't want to reconnect."
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 19 Sep 2006 00:55:20 +0000 |
parents | 8ed6ef220b2d |
children | 56cdf406ff31 |
comparison
equal
deleted
inserted
replaced
14592:f407d80a618c | 14593:d24de94469f4 |
---|---|
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 { |