diff options
author | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-11-17 12:46:18 -0500 |
commit | 69dfc729e99f45f16cab37f81b9f09a659d99a24 (patch) | |
tree | 063d1bba66dcfaece259a91e370919fc1ae77d5c /modules/commands/os_oper.cpp | |
parent | 5281282a61601e9a6b77d129ed97e0509a0474cb (diff) |
Fixed storing mode locks
Diffstat (limited to 'modules/commands/os_oper.cpp')
-rw-r--r-- | modules/commands/os_oper.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/commands/os_oper.cpp b/modules/commands/os_oper.cpp index 18391e4ca..ce4a91645 100644 --- a/modules/commands/os_oper.cpp +++ b/modules/commands/os_oper.cpp @@ -15,7 +15,12 @@ struct MyOper : Oper, Serializable { - MyOper(const Anope::string &n, OperType *o) : Oper(n, o), Serializable("Oper") { } + MyOper(const Anope::string &n, OperType *o) : Oper(n, o) { } + + Anope::string serialize_name() const + { + return "Oper"; + } serialized_data serialize() { |