diff options
Diffstat (limited to 'modules/commands/os_oper.cpp')
-rw-r--r-- | modules/commands/os_oper.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/commands/os_oper.cpp b/modules/commands/os_oper.cpp index 4c9fb6e24..c493b8c82 100644 --- a/modules/commands/os_oper.cpp +++ b/modules/commands/os_oper.cpp @@ -11,7 +11,9 @@ #include "module.h" -struct MyOper : Oper, Serializable +struct MyOper + : Oper + , Serializable { MyOper(const Anope::string &n, OperType *o) : Oper(n, o), Serializable("Oper") { } @@ -46,7 +48,8 @@ struct MyOper : Oper, Serializable } }; -class CommandOSOper : public Command +class CommandOSOper + : public Command { bool HasPrivs(CommandSource &source, OperType *ot) const { @@ -252,7 +255,8 @@ public: } }; -class OSOper : public Module +class OSOper + : public Module { Serialize::Type myoper_type; CommandOSOper commandosoper; |