diff options
Diffstat (limited to 'src/core/commands.c')
-rw-r--r-- | src/core/commands.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/commands.c b/src/core/commands.c index 1dfd8b71..a2c92ef1 100644 --- a/src/core/commands.c +++ b/src/core/commands.c @@ -387,6 +387,10 @@ static void parse_outgoing(const char *line, SERVER_REC *server, void *item) if (strchr(cmdchars, *line) == NULL) return; /* handle only /commands here */ line++; + if (*line == ' ') { + /* "/ text" = same as sending "text" to active channel. */ + return; + } /* //command ignores aliases */ if (strchr(cmdchars, *line) != NULL) { |