diff options
Diffstat (limited to 'src/core/os_oline.cpp')
-rw-r--r-- | src/core/os_oline.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/os_oline.cpp b/src/core/os_oline.cpp index 49d9ed8af..bceea1a49 100644 --- a/src/core/os_oline.cpp +++ b/src/core/os_oline.cpp @@ -7,9 +7,8 @@ * * Based on the original code of Epona by Lara. * Based on the original code of Services by Andy Church. - * - * */ + /*************************************************************************/ #include "module.h" @@ -71,13 +70,13 @@ class OSOLine : public Module public: OSOLine(const std::string &modname, const std::string &creator) : Module(modname, creator) { + if (!ircd->omode) + throw ModuleException("Your IRCd does not support OMODE."); + this->SetAuthor("Anope"); this->SetType(CORE); this->AddCommand(OperServ, new CommandOSOLine()); - - if (!ircd->omode) - throw ModuleException("Your IRCd does not support OMODE."); } }; |