diff --git a/src/common/command.c b/src/common/command.c index 372993d9f..9729f73df 100644 --- a/src/common/command.c +++ b/src/common/command.c @@ -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, ' '); diff --git a/weechat/src/common/command.c b/weechat/src/common/command.c index 372993d9f..9729f73df 100644 --- a/weechat/src/common/command.c +++ b/weechat/src/common/command.c @@ -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, ' ');