From d185decae97752368d5cf62311cbc0d1a52aa22c Mon Sep 17 00:00:00 2001 From: pippijn Date: Wed, 11 Jun 2008 11:35:23 +0000 Subject: fixed some indentation and spacing in modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operlog.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/modules/m_operlog.cpp') diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index 9c82222c1..10e4503f8 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -18,31 +18,31 @@ class ModuleOperLog : public Module { private: - + public: ModuleOperLog(InspIRCd* Me) : Module(Me) { - + Implementation eventlist[] = { I_OnPreCommand, I_On005Numeric }; ServerInstance->Modules->Attach(eventlist, this, 2); } - + virtual ~ModuleOperLog() { } - + virtual Version GetVersion() { return Version(1,2,0,0,VF_VENDOR,API_VERSION); } - + virtual int OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) { /* If the command doesnt appear to be valid, we dont want to mess with it. */ if (!validated) return 0; - + if ((IS_OPER(user)) && (IS_LOCAL(user)) && (user->HasPermission(command))) { Command* thiscommand = ServerInstance->Parser->GetHandler(command); @@ -59,6 +59,6 @@ class ModuleOperLog : public Module } }; - - + + MODULE_INIT(ModuleOperLog) -- cgit v1.2.3