1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05: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:
Emanuele Giaquinta 2008-03-28 18:30:26 +00:00 committed by exg
parent 1e4b9c024d
commit cd9e7e110a
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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) {