general cleanup, fixed a slightly improbably crash issue

This commit is contained in:
mark 2007-08-12 07:19:44 +00:00
parent 6780b3c2e7
commit b9e3476d8b
26 changed files with 62 additions and 67 deletions

View file

@ -127,7 +127,7 @@ namespace Server.Accounting
}
/// <summary>
/// Account username and password hashed with MD5. May be null.
/// Account username and password hashed with SHA1. May be null.
/// </summary>
public string NewCryptPassword
{

View file

@ -1,8 +1,8 @@
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Net;
using System.Collections.Generic;
namespace Server
{

View file

@ -48,7 +48,7 @@ namespace Server.Misc
{
++count;
if ( count >= MaxAddresses )
if ( count > MaxAddresses )
return false;
}
}