diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-28 18:30:26 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-28 18:30:26 +0000 |
commit | cd9e7e110acd2182eea32c052918587eaab7554c (patch) | |
tree | f5f3b2f7b894c83b8253d28551f512846d67462e | |
parent | 1e4b9c024dfe1cafe80e435233db48b4367743b3 (diff) | |
download | irssi-cd9e7e110acd2182eea32c052918587eaab7554c.zip |
Remove useless uses of replace_chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/fe-common/core/fe-ignore.c | 2 | ||||
-rw-r--r-- | src/fe-common/core/hilight-text.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-common/core/fe-ignore.c b/src/fe-common/core/fe-ignore.c index 1a7382f9..23a942c9 100644 --- a/src/fe-common/core/fe-ignore.c +++ b/src/fe-common/core/fe-ignore.c @@ -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; diff --git a/src/fe-common/core/hilight-text.c b/src/fe-common/core/hilight-text.c index d3cc7074..1f3bb4ce 100644 --- a/src/fe-common/core/hilight-text.c +++ b/src/fe-common/core/hilight-text.c @@ -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) { |