more fixes

This commit is contained in:
Michael VanOverbeek 2017-02-26 18:09:59 +00:00
parent 83542a4b81
commit a05cebba57

View file

@ -85,19 +85,27 @@ namespace ShiftOS.Server
}
catch { }
}
Program.server.DispatchTo(new Guid(guid), new NetObject("auth_failed", new ServerMessage
try
{
Name = "mud_login_denied",
GUID = "server"
}));
Program.server.DispatchTo(new Guid(guid), new NetObject("auth_failed", new ServerMessage
{
Name = "mud_login_denied",
GUID = "server"
}));
}
catch { }
}
else
{
Program.server.DispatchTo(new Guid(guid), new NetObject("auth_failed", new ServerMessage
try
{
Name = "mud_login_denied",
GUID = "server"
}));
Program.server.DispatchTo(new Guid(guid), new NetObject("auth_failed", new ServerMessage
{
Name = "mud_login_denied",
GUID = "server"
}));
}
catch { }
}
}