From bc34197205699f7a255b36e8905312b85b164ccd Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 May 2007 21:30:08 +0000 Subject: Add oper notices on: (1) joining invisibly to a channel (2) engage or disengage mode +Q git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6918 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_invisible.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index 41de98e3d..29b741425 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -105,6 +105,8 @@ class InvisibleMode : public ModeHandler i->second->WriteServ("MODE %s +%s", f->first->name, n.c_str()); } } + + ServerInstance->WriteOpers("*** \2NOTICE\2: Oper %s has become %svisible (%sQ)", dest->GetFullHost(), adding ? "in" : "", adding ? "+" : "-"); } return MODEACTION_ALLOW; } @@ -181,6 +183,7 @@ class ModuleInvisible : public Module silent = true; /* Because we silenced the event, make sure it reaches the user whos joining (but only them of course) */ user->WriteFrom(user, "JOIN %s", channel->name); + ServerInstance->WriteOpers("*** \2NOTICE\2: Oper %s has joined %s invisibly (+Q)", user->GetFullHost(), channel->name); } } -- cgit v1.2.3