mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 15:26:37 +02:00
trigger: remove useless test
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user