------------------------------------------------------------
revno: 2582
committer: iceman50 <[email protected]>
branch nick: dcplusplus
timestamp: Wed 2011-07-27 11:21:48 -0500
message:
Store password with /fav if a password is used
modified:
win32/HubFrame.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/HubFrame.cpp'
--- win32/HubFrame.cpp 2011-07-24 20:09:23 +0000
+++ win32/HubFrame.cpp 2011-07-27 16:21:48 +0000
@@ -939,6 +939,9 @@
aEntry.setName(client->getHubName());
aEntry.setDescription(client->getHubDescription());
aEntry.setNick(client->getMyNick());
+ if(client->getPassword().size() > 0) {
+ aEntry.setPassword(client->getPassword());
+ }
FavoriteManager::getInstance()->addFavorite(aEntry);
addStatus(T_("Favorite hub added"));
} else {
_______________________________________________
Mailing list: https://launchpad.net/~linuxdcpp-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~linuxdcpp-team
More help : https://help.launchpad.net/ListHelp