diff options
author | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-11 11:35:23 +0000 |
---|---|---|
committer | pippijn <pippijn@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-06-11 11:35:23 +0000 |
commit | d185decae97752368d5cf62311cbc0d1a52aa22c (patch) | |
tree | 754e7076778fabfbaacaef96da0f845110a8adef /src/modules/m_silence.cpp | |
parent | 62ac378bfb9591f5c5e10076c8be73adaabcfc64 (diff) |
fixed some indentation and spacing in modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9888 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r-- | src/modules/m_silence.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
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<std::string>(++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); |