Fixed data loading/saving.

This commit is contained in:
Håvard Pettersson 2014-09-20 23:36:40 +02:00
parent 06e7747142
commit 9b39ef3953
4 changed files with 11 additions and 7 deletions

View file

@ -48,7 +48,7 @@ weechat_plugin_init(struct t_weechat_plugin *plugin, int argc, char *argv[])
tox_weechat_config_init();
tox_weechat_config_read();
tox_weechat_json_load();
tox_weechat_data_load();
tox_weechat_commands_init();
tox_weechat_gui_init();
tox_weechat_completion_init();
@ -62,7 +62,7 @@ int
weechat_plugin_end(struct t_weechat_plugin *plugin)
{
tox_weechat_config_write();
tox_weechat_json_save();
tox_weechat_data_save();
tox_weechat_identity_free_all();
return WEECHAT_RC_OK;