Commit 7261e221 authored by nanahira's avatar nanahira

rename

parent cf17d3c3
...@@ -154,7 +154,7 @@ end ...@@ -154,7 +154,7 @@ end
-- should move to Auxiliary -- should move to Auxiliary
function Auxiliary.DefineCardmetaGetter(mt,field,f) function Auxiliary.DefineGetter(mt,field,f)
if not mt._getters then if not mt._getters then
mt._getters = {} mt._getters = {}
mt.__index = function(self, key) mt.__index = function(self, key)
...@@ -185,4 +185,4 @@ function s.announce_filter_func(c) ...@@ -185,4 +185,4 @@ function s.announce_filter_func(c)
return af return af
end end
Auxiliary.DefineCardmetaGetter(s,"announce_filter",s.announce_filter_func) Auxiliary.DefineGetter(s,"announce_filter",s.announce_filter_func)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment