From c4d7f00f7497e107f00d9dcf1dea49ddba14297e Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 8 Feb 2009 15:39:52 +0000 Subject: Add a snotice when a user tries to use WEBIRC without matching any configured blocks. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11050 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_cgiirc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 06da29bc0..cb6532d51 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -82,6 +82,8 @@ class CommandWebirc : public Command } } } + + ServerInstance->SNO->WriteToSnoMask('A', "Connecting user %s tried to use WEBIRC, but didn't match any configured webirc blocks.", user->GetFullRealHost().c_str()); return CMD_FAILURE; } }; -- cgit v1.2.3