summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-05-31 08:25:27 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-05-31 08:25:27 +0000
commitdf614aa976d9b13777a499300496dea6855f23fa (patch)
treefe627ff8aa67e187dcac5967f67bfc7177066a5f /src
parent068c42db9d97e89e303faff5e944359635b1aa5b (diff)
Prevent crash when displaying error for server already existing (this only happens for lauren anyway)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 19e276443..a99d40607 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -2023,8 +2023,8 @@ class TreeSocket : public InspSocket
TreeServer* CheckDupe = FindServer(servername);
if (CheckDupe)
{
- this->WriteLine("ERROR :Server "+servername+" already exists on server "+CheckDupe->GetParent()->GetName()+"!");
- Srv->SendOpers("*** Server connection from \2"+servername+"\2 denied, already exists on server "+CheckDupe->GetParent()->GetName());
+ this->WriteLine("ERROR :Server "+servername+" already exists!");
+ Srv->SendOpers("*** Server connection from \2"+servername+"\2 denied, already exists");
return false;
}
TreeServer* Node = new TreeServer(servername,description,ParentOfThis,NULL);