ffr stupid hack
This commit is contained in:
@@ -1185,7 +1185,7 @@ int HistAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
/* do it */
|
||||
Arg2Text(argc - 3, &argv[3], pBueffel, 511);
|
||||
/* authorise */
|
||||
if (!SCMatchRights(pCon, usMugger)) {
|
||||
if (!SCMatchRights(pCon, usUser)) { /* FIXME ffr stupid hack */
|
||||
snprintf(pBueffel,sizeof(pBueffel)-1,
|
||||
"ERROR: you need to be manager in order to configure %s",
|
||||
argv[0]);
|
||||
@@ -1275,7 +1275,7 @@ int HistAction(SConnection * pCon, SicsInterp * pSics, void *pData,
|
||||
SCWrite(pCon, "ERROR: cannot initialize HM while running", eError);
|
||||
return 0;
|
||||
}
|
||||
if (SCMatchRights(pCon, usMugger)) {
|
||||
if (SCMatchRights(pCon, usUser)) { /* FIXME ffr stupid hack */
|
||||
iRet = HistConfigure(self, pCon, pSics);
|
||||
if (iRet) {
|
||||
self->iInit = 1;
|
||||
|
||||
Reference in New Issue
Block a user