summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-29 07:34:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-29 07:34:50 +0000
commitb14bd7e6682f2d3db52a512f6dddded39d328c63 (patch)
treec4bcf121379ebc7dce161bf3be310cb49e011396 /src
parent2df3ad5cfeaea6ca095695fa4b3c786ee8237080 (diff)
Tidied up zline stuff
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1259 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b1aedde73..c42306a30 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -4090,6 +4090,8 @@ int InspIRCd(void)
}
else
{
+ WriteOpers("*** Excess flood from %s",current->ip);
+ log(DEFAULT,"Excess flood from: %s",current->ip);
add_zline(120,ServerName,"Flood from unregistered connection",current->ip);
apply_lines();
}