Merge branch 'release/pre' of github.com:RaidMax/IW4M-Admin into release/pre
This commit is contained in:
commit
466ae96874
@ -1715,7 +1715,7 @@
|
||||
"Name": "zm_theater"
|
||||
},
|
||||
{
|
||||
"Alias": "Moom",
|
||||
"Alias": "Moon",
|
||||
"Name": "zm_moon"
|
||||
},
|
||||
{
|
||||
|
@ -588,11 +588,15 @@ namespace IW4MAdmin.Application.EventParsers
|
||||
return null;
|
||||
}
|
||||
|
||||
var message = matchResult.Values[Configuration.Say.GroupMapping[ParserRegex.GroupType.Message]]
|
||||
.Replace(Configuration.LocalizeText, "")
|
||||
.Trim();
|
||||
var message = new string(matchResult.Values[Configuration.Say.GroupMapping[ParserRegex.GroupType.Message]]
|
||||
.Where(c => !char.IsControl(c)).ToArray());
|
||||
|
||||
if (message.Length <= 0)
|
||||
if (message.StartsWith("/"))
|
||||
{
|
||||
message = message[1..];
|
||||
}
|
||||
|
||||
if (String.IsNullOrEmpty(message))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user