mirror of
https://github.com/anope/anope.git
synced 2026-07-04 19:13:12 +02:00
Allow modules to store data in their own databases.
This commit is contained in:
@@ -15,12 +15,7 @@
|
||||
|
||||
struct MyOper : Oper, Serializable
|
||||
{
|
||||
MyOper(const Anope::string &n, OperType *o) : Oper(n, o) { }
|
||||
|
||||
const Anope::string serialize_name() const anope_override
|
||||
{
|
||||
return "Oper";
|
||||
}
|
||||
MyOper(const Anope::string &n, OperType *o) : Oper(n, o), Serializable("Oper") { }
|
||||
|
||||
Serialize::Data serialize() const anope_override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user