From 9f74f4d6f0f7be48a0fc359c7b38809ce8e89297 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 4 Aug 2006 16:14:44 +0000 Subject: Add 'no such server' on remote stats to invalid name git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4713 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 34d1c7091..ec3af1780 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -3567,6 +3567,10 @@ class ModuleSpanningTree : public Module params[1] = s->GetName(); DoOneToOne(user->nick, "STATS", params, s->GetName()); } + else + { + WriteServ(user->fd, "402 %s %s :No such server", user->nick, parameters[0]); + } return 1; } return 0; -- cgit v1.2.3