aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_spanningtree/main.cpp
diff options
context:
space:
mode:
authorGravatar brain2007-05-09 23:42:06 +0000
committerGravatar brain2007-05-09 23:42:06 +0000
commitb8015b09dcf4b49ceb695b188a2172548378e1db (patch)
tree477cdcba16e6271fbf42325b5c9db4528c9115f4 /src/modules/m_spanningtree/main.cpp
parentAdd a module which only lets identified users and opers create new channels, ... (diff)
downloadinspircd++-b8015b09dcf4b49ceb695b188a2172548378e1db.tar.gz
inspircd++-b8015b09dcf4b49ceb695b188a2172548378e1db.tar.bz2
inspircd++-b8015b09dcf4b49ceb695b188a2172548378e1db.zip
Fix ping timeout ERROR not being generated when a server pings out, making the other end appear to be closed unexpectedly without reason.
Find and fix the 3 ping timeout messages for server to server that were using WriteOpers instead of snomask +l git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6933 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 48b76b8a0..09574f15f 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -468,6 +468,7 @@ void ModuleSpanningTree::DoPingChecks(time_t curtime)
{
// they didnt answer, boot them
ServerInstance->SNO->WriteToSnoMask('l',"Server \002%s\002 pinged out",serv->GetName().c_str());
+ sock->SendError("Ping timeout");
sock->Squit(serv,"Ping timeout");
ServerInstance->SE->DelFd(sock);
sock->Close();