Fix Sparklies in UOTD Client. ie, fix due to Client not sending uo:td in client version
This commit is contained in:
parent
ed73ebfa3e
commit
fc9e4d2be1
4 changed files with 11 additions and 4 deletions
|
|
@ -1736,7 +1736,6 @@ namespace Server.Network
|
|||
public static void ClientVersion( NetState state, PacketReader pvSrc )
|
||||
{
|
||||
CV version = state.Version = new CV( pvSrc.ReadString() );
|
||||
|
||||
string kickMessage = null;
|
||||
|
||||
if ( CV.Required != null && version < CV.Required )
|
||||
|
|
@ -1749,7 +1748,7 @@ namespace Server.Network
|
|||
kickMessage = "This server does not allow god clients to connect.";
|
||||
else if ( !CV.AllowRegular && version.Type == ClientType.Regular )
|
||||
kickMessage = "This server does not allow regular clients to connect.";
|
||||
else if ( !CV.AllowUOTD && version.Type == ClientType.UOTD )
|
||||
else if ( !CV.AllowUOTD && state.IsUOTDClient )
|
||||
kickMessage = "This server does not allow UO:TD clients to connect.";
|
||||
|
||||
if ( !CV.AllowGod && !CV.AllowRegular && !CV.AllowUOTD )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue