summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
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;