From 85966c30503b31e7133f018e19ddc8a79cd68307 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 26 Feb 2008 15:42:24 +0000 Subject: 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 --- src/modules/m_invisible.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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 -- cgit v1.2.3