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_restrictchans.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_restrictchans.cpp') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index c0409168f..7b229687f 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -17,7 +17,7 @@ class ModuleRestrictChans : public Module { - + std::map allowchans; @@ -39,7 +39,7 @@ class ModuleRestrictChans : public Module ModuleRestrictChans(InspIRCd* Me) : Module(Me) { - + ReadConfig(); Implementation eventlist[] = { I_OnUserPreJoin, I_OnRehash }; ServerInstance->Modules->Attach(eventlist, this, 2); @@ -50,7 +50,7 @@ class ModuleRestrictChans : public Module ReadConfig(); } - + virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven) { irc::string x = cname; @@ -66,11 +66,11 @@ class ModuleRestrictChans : public Module } return 0; } - + virtual ~ModuleRestrictChans() { } - + virtual Version GetVersion() { return Version(1,2,0,1,VF_VENDOR,API_VERSION); -- cgit v1.2.3