From 965064a28767dfacc99bb490e2cb5b817b4a837d Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 11 Feb 2006 17:57:44 +0000 Subject: Fixes to pass on TIME git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3158 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree.cpp') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 96eb2fc63..19ee36158 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1710,6 +1710,13 @@ class TreeSocket : public InspSocket DoOneToOne(Srv->GetServerName(),"TIME",params,u->server); } } + else + { + // not us, pass it on + userrec* u = Srv->FindNick(params[1]); + if (u) + DoOneToOne(prefix,"TIME",params,u->server); + } } else if (params.size() == 3) { @@ -1724,7 +1731,8 @@ class TreeSocket : public InspSocket } else { - DoOneToOne(prefix,"TIME",params,u->server); + if (u) + DoOneToOne(prefix,"TIME",params,u->server); } } return true; -- cgit v1.2.3