summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 20:35:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 20:35:49 +0000
commit2b4af06e1ca7ea3ee462f4d2462a377f166dc952 (patch)
tree442ef43ef4f0fd9c0680f32d52d8cf463a2394ca /src
parent0cf08426b2ff53d6fc1ca8125a57c79d87070b7b (diff)
Delete unknown sockets on sight
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3603 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp3
-rwxr-xr-xsrc/svn-rev.sh2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ea035e7b0..9b48d83ef 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -773,7 +773,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
}
catch (ModuleException& modexcept)
{
- log(DEBUG,"Module exception cought: %s",modexcept.GetReason()); \
+ log(DEBUG,"Module exception cought: %s",modexcept.GetReason());
}
}
stats->statsAccept++;
@@ -795,6 +795,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets)
* what we would do, so for now, its going
* to safely do bugger all.
*/
+ SE->DelFd(activefds[activefd]);
break;
}
}
diff --git a/src/svn-rev.sh b/src/svn-rev.sh
index 49b2aecc7..2ea11eca7 100755
--- a/src/svn-rev.sh
+++ b/src/svn-rev.sh
@@ -1 +1 @@
-echo 3600
+echo 3602