summaryrefslogtreecommitdiff
path: root/src/plugins/trigger
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/trigger')
-rw-r--r--src/plugins/trigger/trigger.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/trigger/trigger.c b/src/plugins/trigger/trigger.c
index 24e023078..3b3885161 100644
--- a/src/plugins/trigger/trigger.c
+++ b/src/plugins/trigger/trigger.c
@@ -678,8 +678,6 @@ trigger_regex_split (const char *str_regex,
length_delimiter = strlen (delimiter);
ptr_regex = pos;
- if (!ptr_regex[0])
- goto format_error;
/* search the start of replacement string */
pos_replace = strstr (ptr_regex, delimiter);