linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #04348
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2582: Store password with /fav if a password is used
------------------------------------------------------------
revno: 2582
committer: iceman50 <bdcdevel@xxxxxxxxx>
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 {