# HG changeset patch # User Kim Alvefur # Date 1432052693 -7200 # Node ID e6e80ec5003049184d130298a391e992b8c10f7c # Parent 41725f3df3cc79b84db24811548524b4f4615e8f mod_storage_sql2: Add a 'caps' table for indicating support for optional features diff -r 41725f3df3cc -r e6e80ec50030 plugins/mod_storage_sql2.lua --- a/plugins/mod_storage_sql2.lua Tue May 19 18:24:09 2015 +0200 +++ b/plugins/mod_storage_sql2.lua Tue May 19 18:24:53 2015 +0200 @@ -215,6 +215,9 @@ 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