mirror of
https://github.com/anope/anope.git
synced 2026-07-05 22:13:13 +02:00
Import misc channel and user metadata in db_atheme.
This commit is contained in:
@@ -207,9 +207,13 @@ public:
|
||||
|
||||
descriptions[cname] = desc;
|
||||
|
||||
// Force creation of the extension item.
|
||||
const auto extname = "cs_set_misc:" + GetAttribute(cname);
|
||||
GetItem(extname);
|
||||
|
||||
auto numeric = block.Get<unsigned>("misc_numeric");
|
||||
if (numeric >= 1 && numeric <= 999)
|
||||
numerics["cs_set_misc:" + GetAttribute(cname)] = numeric;
|
||||
numerics[extname] = numeric;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user