diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c index 744c4b20b..69971848d 100644 --- a/src/plugins/trigger/trigger.c +++ b/src/plugins/trigger/trigger.c @@ -826,8 +826,9 @@ trigger_split_command (const char *command, } /* - * Checks if a trigger name is valid: it must not start with "-" and not have - * any spaces. + * Checks if a trigger name is valid: + * - it must not start with "-" + * - it must not have any space/period. * * Returns: * 1: name is valid