Fix previous commit (Added sqlite VACUUM to cleanup commands)

Conflicts:
	src/plugins/mod_chat_history_sqlite.c
This commit is contained in:
mimicmod 2013-06-19 18:32:16 -04:00 committed by Francisco Blas (klondike) Izquierdo Riera
parent 5e63ab2ccd
commit 96cc46117f

View File

@ -226,6 +226,8 @@ static int command_historycleanup(struct plugin_handle* plugin, struct plugin_us
plugin->hub.send_message(plugin, user, cbuf_get(buf));
cbuf_destroy(buf);
sql_execute(data, null_callback, NULL, "VACUUM;");
return 0;
}