diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2005-01-16 11:52:22 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2005-01-16 11:52:22 +0000 |
commit | 88930e50dd06fcad997fa9380227084b319181a9 (patch) | |
tree | fe3d62f54f0f7f477ed5ff381b0f2606ec61a7f9 /src/plugins/perl | |
parent | 555999534ee0d4782f61a5e1e7b546830f5d5662 (diff) | |
download | weechat-88930e50dd06fcad997fa9380227084b319181a9.zip |
Improved completion (now completes commands args), fixed color bug (gray removed, replaced by default), fixed crash when unknown section with option(s) in config file, fixed IRC commands: /op, /deop, /voice, /devoice
Diffstat (limited to 'src/plugins/perl')
-rw-r--r-- | src/plugins/perl/wee-perl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perl/wee-perl.c b/src/plugins/perl/wee-perl.c index c33e1bc40..555250cde 100644 --- a/src/plugins/perl/wee-perl.c +++ b/src/plugins/perl/wee-perl.c @@ -313,8 +313,8 @@ static XS (XS_IRC_add_command_handler) name = SvPV (ST (0), integer); function = SvPV (ST (1), integer); - if (!index_command_search (name)) - index_command_new (name); + if (!weelist_search (index_commands, name)) + weelist_add (&index_commands, &last_index_command, name); ptr_plugin_handler = plugin_handler_search (plugin_cmd_handlers, name); if (ptr_plugin_handler) { |