Support arbitrary suffixes for actions, same action multiple times
This commit is contained in:
@@ -273,7 +273,7 @@ static void load_action(settings_t *settings, char *action)
|
|||||||
|
|
||||||
for (i = 0; i < countof(actions); i++)
|
for (i = 0; i < countof(actions); i++)
|
||||||
{
|
{
|
||||||
if (strcaseeq(actions[i].name, action))
|
if (strncasecmp(actions[i].name, action, strlen(actions[i].name)) == 0)
|
||||||
{
|
{
|
||||||
int delay;
|
int delay;
|
||||||
char *config;
|
char *config;
|
||||||
|
|||||||
Reference in New Issue
Block a user