MJL 10/06 Added pause command.
r1174 | mle | 2006-10-25 14:42:26 +1000 (Wed, 25 Oct 2006) | 2 lines
This commit is contained in:
committed by
Douglas Clowes
parent
29b25e998c
commit
03a8c420c4
10
histmem.c
10
histmem.c
@@ -1267,6 +1267,16 @@ static int checkHMEnd(pHistMem self, char *text){
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* pause */
|
||||
else if(strcmp(argv[1],"pause") == 0)
|
||||
{ if(!SCMatchRights(pCon,usUser))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
self->pDriv->Pause(self->pDriv,pCon);
|
||||
SCSendOK(pCon);
|
||||
return 1;
|
||||
}
|
||||
/* normal counting*/
|
||||
else if(strcmp(argv[1],"count") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user