1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Fixed command parsing: now "/*" is not considered any more as a command (task #6684)

This commit is contained in:
Sebastien Helleu
2007-03-27 11:06:50 +00:00
parent 64bcd25692
commit 57477f9da9
2 changed files with 6 additions and 0 deletions
+3
View File
@@ -792,6 +792,9 @@ int
is_command (char *line)
{
char *pos_slash, *pos_space;
if (strncmp (line, "/*", 2) == 0)
return 0;
pos_slash = strchr (line + 1, '/');
pos_space = strchr (line + 1, ' ');
+3
View File
@@ -792,6 +792,9 @@ int
is_command (char *line)
{
char *pos_slash, *pos_space;
if (strncmp (line, "/*", 2) == 0)
return 0;
pos_slash = strchr (line + 1, '/');
pos_space = strchr (line + 1, ' ');