Skip to content

Commit

Permalink
* Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
megax committed Mar 10, 2013
1 parent 26931c2 commit 1a41f12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Applications/Schumix.Server/Main.cs
Expand Up @@ -144,8 +144,9 @@ private static void Main(string[] args)
}
else if(arg.Contains("--message="))
{
if(arg.Substring(arg.IndexOf("--message=") + "--message=".Length) != string.Empty)
message = arg.Substring(arg.IndexOf("--message=") + "--message=".Length);
string mess = args.SplitToString(SchumixBase.Space);
if(mess.Substring(mess.IndexOf("--message=") + "--message=".Length) != string.Empty)
message = mess.Substring(mess.IndexOf("--message=") + "--message=".Length);

Console.WriteLine(message);
continue;
Expand Down

0 comments on commit 1a41f12

Please sign in to comment.