Refactored offline messaging.

This commit is contained in:
Håvard Pettersson 2014-09-26 21:57:21 +02:00
parent d45167971d
commit 3ed68cd364
6 changed files with 106 additions and 51 deletions

View file

@ -62,8 +62,9 @@ int
weechat_plugin_end(struct t_weechat_plugin *plugin)
{
tox_weechat_config_write();
tox_weechat_data_save();
tox_weechat_identity_free_all();
tox_weechat_data_save();
tox_weechat_data_free();
return WEECHAT_RC_OK;
}