1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

alias: remove unneeded warning, do not load plugin when options can not be initialized

This commit is contained in:
Sebastien Helleu
2013-11-09 10:21:46 +01:00
parent 8c7b9a1c5e
commit 786ad41309
+2 -6
View File
@@ -979,12 +979,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
weechat_plugin = plugin;
if (!alias_config_init ())
{
weechat_printf (NULL,
_("%s%s: error creating configuration file"),
weechat_prefix("error"), ALIAS_PLUGIN_NAME);
return WEECHAT_RC_OK;
}
return WEECHAT_RC_ERROR;
alias_config_read ();
weechat_hook_command ("alias",