summaryrefslogtreecommitdiff
path: root/src/fe-common/core/hilight-text.c
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-03-28 18:30:26 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-03-28 18:30:26 +0000
commitcd9e7e110acd2182eea32c052918587eaab7554c (patch)
treef5f3b2f7b894c83b8253d28551f512846d67462e /src/fe-common/core/hilight-text.c
parent1e4b9c024dfe1cafe80e435233db48b4367743b3 (diff)
downloadirssi-cd9e7e110acd2182eea32c052918587eaab7554c.zip
Remove useless uses of replace_chars.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4781 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/hilight-text.c')
-rw-r--r--src/fe-common/core/hilight-text.c2
1 files changed, 1 insertions, 1 deletions
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) {