diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-04-10 12:21:16 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-04-10 12:21:16 +0200 |
commit | 937ecb62c47775f22a929b7ae43d80588fe19806 (patch) | |
tree | e4afed852309b72cdb9fb7d89220713a50211646 /src/plugins/trigger/trigger.c | |
parent | 2e67b13edd5010a0b90398207caaad27ae7665fd (diff) | |
download | weechat-937ecb62c47775f22a929b7ae43d80588fe19806.zip |
trigger: remove useless test
Diffstat (limited to 'src/plugins/trigger/trigger.c')
-rw-r--r-- | src/plugins/trigger/trigger.c | 2 |
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); |