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_noctcp.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules/m_noctcp.cpp') diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 557771697..00eea1309 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -45,15 +45,15 @@ class NoCTCP : public ModeHandler class ModuleNoCTCP : public Module { - + NoCTCP* nc; - + public: - + ModuleNoCTCP(InspIRCd* Me) : Module(Me) { - + nc = new NoCTCP(ServerInstance); if (!ServerInstance->Modes->AddMode(nc)) throw ModuleException("Could not add new modes!"); @@ -66,18 +66,18 @@ class ModuleNoCTCP : public Module { return OnUserPreNotice(user,dest,target_type,text,status,exempt_list); } - + virtual int OnUserPreNotice(User* user,void* dest,int target_type, std::string &text, char status, CUList &exempt_list) { if ((target_type == TYPE_CHANNEL) && (IS_LOCAL(user))) { Channel* c = (Channel*)dest; - + if (CHANOPS_EXEMPT(ServerInstance, 'C') && c->GetStatus(user) == STATUS_OP) { return 0; } - + if (c->IsModeSet('C')) { if ((text.length()) && (text[0] == '\1')) -- cgit v1.2.3