mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
"/ 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:
parent
96020e6999
commit
6e2f0ec988
2 changed files with 11 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue