1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

core: fix the hardcoded separator in string_split_command

This commit is contained in:
Wojciech Kwolek
2016-05-08 12:14:17 +02:00
parent 2d5ea374af
commit a44bcaf080
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -2118,7 +2118,7 @@ string_split_command (const char *command, char separator)
while(*ptr != '\0')
{
type = 0;
if (*ptr == ';')
if (*ptr == separator)
{
if (ptr == command)
type = 1;