diff --git a/Scripts/Commands/Docs.cs b/Scripts/Commands/Docs.cs index b4fe73044..7a34b16d1 100644 --- a/Scripts/Commands/Docs.cs +++ b/Scripts/Commands/Docs.cs @@ -192,7 +192,7 @@ namespace Server.Commands public static string GetFileName( string root, string name, string ext ) { - if ( name.IndexOfAny( ReplaceChars ) ) { + if ( name.IndexOfAny( ReplaceChars ) >= 0 ) { StringBuilder sb = new StringBuilder( name ); for ( int i = 0; i < ReplaceChars.Length; ++i ) { diff --git a/Server/EventSink.cs b/Server/EventSink.cs index 6626e804a..85f2f8a67 100644 --- a/Server/EventSink.cs +++ b/Server/EventSink.cs @@ -545,7 +545,7 @@ namespace Server public Direction Direction{ get{ return m_Direction; } } public bool Blocked{ get{ return m_Blocked; } set{ m_Blocked = value; } } - private static Queue m_Pool = new Queue(); + private static Queue m_Pool = new Queue(); public static MovementEventArgs Create( Mobile mobile, Direction dir ) {