From 41af377cf0cda243c3c1bfa6231b4276dfacbc79 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 19 May 2015 18:24:53 +0200 Subject: [PATCH] mod_storage_sql2: Add a 'caps' table for indicating support for optional features --- plugins/mod_storage_sql2.lua | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2