summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 15:42:24 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-02-26 15:42:24 +0000
commit85966c30503b31e7133f018e19ddc8a79cd68307 (patch)
tree962c192887c93b35de12a32e1546c7464031807b
parentc3c463eb4aa00a6911ea52a7424e4e53d3c0b25c (diff)
D'oh, this repeats the 'mode enabled' line once per channel. Thanks ElementAlchemist.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9034 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_invisible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 3b3155be8..705d2a614 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -114,9 +114,9 @@ class InvisibleMode : public ModeHandler
i->first->WriteServ("MODE %s +%s", f->first->name, n.c_str());
}
}
-
- ServerInstance->SNO->WriteToSnoMask('A', "\2NOTICE\2: Oper %s has become %svisible (%sQ)", dest->GetFullHost(), adding ? "in" : "", adding ? "+" : "-");
}
+
+ ServerInstance->SNO->WriteToSnoMask('A', "\2NOTICE\2: Oper %s has become %svisible (%sQ)", dest->GetFullHost(), adding ? "in" : "", adding ? "+" : "-");
return MODEACTION_ALLOW;
}
else