From 344624dd2a81691df140c9d118901804ba766590 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 21 Dec 2005 14:55:36 +0000 Subject: Moved CAPAB git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2599 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index fe316977b..7a71df21a 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -610,6 +610,7 @@ class TreeSocket : public InspSocket { if (x->Name == this->myhost) { + this->SendCapabilities(); if (x->EncryptionKey != "") { if (!(x->EncryptionKey.length() == 16 || x->EncryptionKey.length() == 24 || x->EncryptionKey.length() == 32)) @@ -622,7 +623,6 @@ class TreeSocket : public InspSocket this->InitAES(x->EncryptionKey,x->Name); } } - this->SendCapabilities(); /* found who we're supposed to be connecting to, send the neccessary gubbins. */ this->WriteLine("SERVER "+Srv->GetServerName()+" "+x->SendPass+" 0 :"+Srv->GetServerDescription()); return true; -- cgit v1.2.3