Ignore:
Timestamp:
Dec 29, 2010, 1:20:14 PM (11 years ago)
Author:
kopal
Message:
  • created gui to request a certificate for p2p
  • fixed a small bug not checking the password/worldname fields correctly before connecting to p2p
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypP2P/Internal/ConnectionManager.cs

    r2164 r2276  
    148148            }
    149149
    150             if (String.IsNullOrEmpty(P2PSettings.Default.PeerName))
     150            if (String.IsNullOrEmpty(P2PSettings.Default.Password))
     151            {
     152                P2PManager.GuiLogMessage("Peer-to-peer not fully configured: password missing.",
     153                                         NotificationLevel.Error);
     154                return false;
     155            }
     156
     157            if (String.IsNullOrEmpty(P2PSettings.Default.WorldName))
    151158            {
    152159                P2PManager.GuiLogMessage("Peer-to-peer not fully configured: world name missing.",
Note: See TracChangeset for help on using the changeset viewer.