1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

Fixed bugs with weechat_config_get() in plugin API

This commit is contained in:
Sebastien Helleu
2008-04-11 22:05:54 +02:00
parent d975629686
commit 00e75b9b94
8 changed files with 53 additions and 47 deletions
+2 -2
View File
@@ -885,7 +885,7 @@ irc_protocol_cmd_notice (struct t_irc_server *server, char *command,
}
look_infobar_delay_highlight = weechat_config_integer (
weechat_config_get_weechat ("look_infobar_delay_highlight"));
weechat_config_get ("weechat.look.infobar_delay_highlight"));
if (nick && strncmp (pos_args, "\01VERSION", 8) == 0)
{
@@ -1346,7 +1346,7 @@ irc_protocol_cmd_privmsg (struct t_irc_server *server, char *command,
IRC_PROTOCOL_CHECK_HOST;
look_infobar_delay_highlight = weechat_config_integer (
weechat_config_get_weechat ("look_infobar_delay_highlight"));
weechat_config_get ("weechat.look.infobar_delay_highlight"));
nick = irc_protocol_get_nick_from_host (argv[0]);
host = irc_protocol_get_address_from_host (argv[0]);