mirror of
https://github.com/irssi/irssi.git
synced 2024-08-18 03:54:16 -04:00
Remove useless uses of replace_chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1e4b9c024d
commit
cd9e7e110a
@ -152,7 +152,7 @@ static void cmd_ignore(const char *data)
|
||||
mask = NULL;
|
||||
}
|
||||
channels = (chanarg == NULL || *chanarg == '\0') ? NULL :
|
||||
g_strsplit(replace_chars(chanarg, ',', ' '), " ", -1);
|
||||
g_strsplit(chanarg, ",", -1);
|
||||
|
||||
rec = patternarg != NULL ? NULL: ignore_find(NULL, mask, channels);
|
||||
new_ignore = rec == NULL;
|
||||
|
@ -558,7 +558,7 @@ static void cmd_hilight(const char *data)
|
||||
if (*text == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
channels = (chanarg == NULL || *chanarg == '\0') ? NULL :
|
||||
g_strsplit(replace_chars(chanarg, ',', ' '), " ", -1);
|
||||
g_strsplit(chanarg, ",", -1);
|
||||
|
||||
rec = hilight_find(text, channels);
|
||||
if (rec == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user