summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:14:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-04 16:14:44 +0000
commit9f74f4d6f0f7be48a0fc359c7b38809ce8e89297 (patch)
tree1ba7fb7074459acc28f38ab60ea57cea534ab381 /src/modules
parentf486290d078fe7df68c96d23cb6c1098260f2784 (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 4 insertions, 0 deletions
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;