From c913917942ee16c0d4472d3ed344b506d1bfa50c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 May 2015 18:24:53 +0200 Subject: mod_storage_sql2: Add a 'caps' table for indicating support for optional features --- plugins/mod_storage_sql2.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/mod_storage_sql2.lua') diff --git a/plugins/mod_storage_sql2.lua b/plugins/mod_storage_sql2.lua index aab37697..21299f33 100644 --- a/plugins/mod_storage_sql2.lua +++ b/plugins/mod_storage_sql2.lua @@ -215,6 +215,9 @@ function keyval_store:users() end local archive_store = {} +archive_store.caps = { + total = true; +}; archive_store.__index = archive_store function archive_store:append(username, key, value, when, with) if type(when) ~= "number" then -- cgit v1.2.3