charset: remove unneeded warning, do not load plugin when options can not be initialized
This commit is contained in:
parent
a349af5356
commit
91f76dc771
@ -579,12 +579,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
charset_display_charsets ();
|
||||
|
||||
if (!charset_config_init ())
|
||||
{
|
||||
weechat_printf (NULL,
|
||||
_("%s%s: error creating configuration file"),
|
||||
weechat_prefix("error"), CHARSET_PLUGIN_NAME);
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
return WEECHAT_RC_ERROR;
|
||||
|
||||
charset_config_read ();
|
||||
|
||||
/* /charset command */
|
||||
|
Loading…
x
Reference in New Issue
Block a user