summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-08 15:39:52 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-02-08 15:39:52 +0000
commitc4d7f00f7497e107f00d9dcf1dea49ddba14297e (patch)
tree4643f12b19b36a5263a3036c72634ace62f421db /src/modules
parentf99398e11476b07d3674c0fa1a275deb32773902 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_cgiirc.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}
};