code format

This commit is contained in:
2019-06-06 08:24:55 +01:00
parent 213c4505f2
commit 083c07a85d

View File

@ -363,8 +363,7 @@ namespace Yavsc
[Authorize]
public void SendPV(string userName, string message)
{
if (string.IsNullOrWhiteSpace(userName))
return;
if (string.IsNullOrWhiteSpace(userName)) return;
if (userName[0] != '?')
if (!Context.User.IsInRole(Constants.AdminGroupName))