code format
This commit is contained in:
parent
6b2d360542
commit
63c5cb03f8
1 changed files with 1 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue