diff options
author | Adam <Adam@anope.org> | 2012-10-01 18:50:29 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-01 18:50:29 -0400 |
commit | a434baed9154d90ad0dfd31c71a463fb8300bfd8 (patch) | |
tree | 587b81c85c8abd676bb6fe1897415017a6d3f85a /modules/commands/os_oper.cpp | |
parent | f14a3dfb8a4cc9da7b5066ac8320265d54dba177 (diff) |
Allow modules to store data in their own databases.
Diffstat (limited to 'modules/commands/os_oper.cpp')
-rw-r--r-- | modules/commands/os_oper.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/modules/commands/os_oper.cpp b/modules/commands/os_oper.cpp index 528ff7382..e2e7b4ab3 100644 --- a/modules/commands/os_oper.cpp +++ b/modules/commands/os_oper.cpp @@ -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 { |