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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user