Make filter_command_handler use more out of new Xchat2 API
commit3f8be0de8d89085ce879fb6d810a5a73ec09a9b3
authorJakub Narebski <jnareb@gmail.com>
Fri, 31 Oct 2008 08:00:25 +0000 (31 09:00 +0100)
committerJakub Narebski <jnareb@gmail.com>
Fri, 31 Oct 2008 08:00:25 +0000 (31 09:00 +0100)
treea7342a61dd0c4a699b091ffd2785d7a751235fc4
parent4028b085f6db2e017771bce705f8a870f378d448
Make filter_command_handler use more out of new Xchat2 API

Use $_[0][1] for (sub)command, and $_[1][2] for the rest of like
(arguments to subcommand), instead of extracting (sub)command from
beginning of $_[1][1].

While at it fix small bug in error message for unknown command.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
SoftSnow_filter.pl