major change for plugin handle

This commit is contained in:
lxsang
2016-10-29 15:02:16 +02:00
parent ccbf742713
commit 88e284e12b
19 changed files with 89 additions and 11 deletions

View File

@ -74,3 +74,18 @@ void install(int c, const char* m, dictionary rq)
__t(c,result,0,"This is not a plugin file");
}
void handler(int client, const char* method, const char* rqpth, dictionary rq)
{
if(EQU(rqpth,"default"))
{
execute(client,method,rq);
}
else if(EQU(rqpth,"install"))
{
install(client,method,rq);
}
else
{
unknow(client);
}
}

Binary file not shown.