1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 23:31:13 -05:00

-stability fixes

-welcome has post-fixed connection indicator
This commit is contained in:
RaidMax
2015-03-14 11:42:36 -05:00
parent 73dfb9a612
commit b0e32e9a91
11 changed files with 193 additions and 74 deletions

View File

@ -58,7 +58,9 @@ namespace IW4MAdmin
public static Event requestEvent(String[] line, Server SV)
{
#if DEBUG == false
try
#endif
{
String eventType = line[0].Substring(line[0].Length - 1);
eventType = eventType.Trim();
@ -76,7 +78,7 @@ namespace IW4MAdmin
{
if (line.Length < 4)
{
Console.WriteLine("SAY FUCKED UP");
Console.WriteLine("SAY FUCKED UP BIG-TIME");
return null;
}
Regex rgx = new Regex("[^a-zA-Z0-9 -! -_]");
@ -93,11 +95,13 @@ namespace IW4MAdmin
return null;
}
#if DEBUG == false
catch (Exception E)
{
SV.Log.Write("Error requesting event " + E.Message, Log.Level.Debug);
return null;
}
#endif
}