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_silence.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/modules/m_silence.cpp') diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 310f2d95a..cdd968212 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -72,16 +72,16 @@ class CommandSVSSilence : public Command */ if (!ServerInstance->ULine(user->server)) return CMD_FAILURE; - + User *u = ServerInstance->FindNick(parameters[0]); if (!u) return CMD_FAILURE; - + if (IS_LOCAL(u)) { ServerInstance->Parser->CallHandler("SILENCE", std::vector(++parameters.begin(), parameters.end()), u); } - + return CMD_SUCCESS; } }; @@ -129,13 +129,13 @@ class CommandSilence : public Command if (parameters.size() > 1) { pattern = CompilePattern(parameters[1].c_str()); } - + if (!mask.length()) { // 'SILENCE +' or 'SILENCE -', assume *!*@* mask = "*!*@*"; } - + ModeParser::CleanMask(mask); if (action == '-') @@ -219,7 +219,7 @@ class CommandSilence : public Command case 'c': p |= SILENCE_CHANNEL; break; - case 'i': + case 'i': p |= SILENCE_INVITE; break; case 'n': @@ -271,7 +271,7 @@ class ModuleSilence : public Module CommandSVSSilence *cmdsvssilence; unsigned int maxsilence; public: - + ModuleSilence(InspIRCd* Me) : Module(Me), maxsilence(32) { @@ -401,7 +401,7 @@ class ModuleSilence : public Module virtual ~ModuleSilence() { } - + virtual Version GetVersion() { return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION); -- cgit v1.3.1-10-gc9f91