mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
command_runsub() - ignore multiple spaces between /COMMAND SUBCOMMAND
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1640 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
69a6096b8b
commit
fbe38dd2c8
@ -283,6 +283,8 @@ void command_runsub(const char *cmd, const char *data,
|
||||
|
||||
g_return_if_fail(data != NULL);
|
||||
|
||||
while (*data == ' ') data++;
|
||||
|
||||
if (*data == '\0') {
|
||||
/* no subcommand given - list the subcommands */
|
||||
signal_emit("list subcommands", 2, cmd);
|
||||
|
Loading…
Reference in New Issue
Block a user