Enhanced comments in asynnet

Changed required privilege for chnaging the threshold from manager to user in counter.c
Changed an output code in macro.c
This commit is contained in:
2016-10-25 17:03:21 +02:00
parent 7e764b100b
commit fd5451e8fd
3 changed files with 8 additions and 3 deletions

View File

@ -1022,7 +1022,7 @@ int CountAction(SConnection * pCon, SicsInterp * pSics, void *pData,
}
break;
case 15:
if (!SCMatchRights(pCon, usMugger)) {
if (!SCMatchRights(pCon, usUser)) {
SCWrite(pCon,
"ERROR: Insufficient privilege to set threshold", eError);
return 0;