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"
|
"Name": "zm_theater"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Alias": "Moom",
|
"Alias": "Moon",
|
||||||
"Name": "zm_moon"
|
"Name": "zm_moon"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -588,11 +588,15 @@ namespace IW4MAdmin.Application.EventParsers
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var message = matchResult.Values[Configuration.Say.GroupMapping[ParserRegex.GroupType.Message]]
|
var message = new string(matchResult.Values[Configuration.Say.GroupMapping[ParserRegex.GroupType.Message]]
|
||||||
.Replace(Configuration.LocalizeText, "")
|
.Where(c => !char.IsControl(c)).ToArray());
|
||||||
.Trim();
|
|
||||||
|
|
||||||
if (message.Length <= 0)
|
if (message.StartsWith("/"))
|
||||||
|
{
|
||||||
|
message = message[1..];
|
||||||
|
}
|
||||||
|
|
||||||
|
if (String.IsNullOrEmpty(message))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user