"/ text" sends "text" to active channel.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@233 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-05-25 12:58:14 +00:00 committed by cras
commit 6e2f0ec988
2 changed files with 11 additions and 2 deletions

View file

@ -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) {