summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:54 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:52:54 +0000
commit8ca460a0e660f7ac6bae4dfdc88680876fd899f5 (patch)
tree063df543e7d38449300588b54d00e4612250580e /src/modules/m_spanningtree/treesocket.h
parente62516014fdbc13a0baf9b869b747300bfdccbc7 (diff)
Add modules to the VF_COMMON list in backwards compatability link mode, translate FIDENT as CHGIDENT
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11657 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
-rw-r--r--src/modules/m_spanningtree/treesocket.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index 93016126b..e9830f9ad 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -89,7 +89,7 @@ class TreeSocket : public BufferedSocket
std::string ourchallenge; /* Challenge sent for challenge/response */
std::string theirchallenge; /* Challenge recv for challenge/response */
std::string OutboundPass; /* Outbound password */
- bool sentcapab; /* Have sent CAPAB already */
+ int capab_phase; /* Have sent CAPAB already */
bool auth_fingerprint; /* Did we auth using SSL fingerprint */
bool auth_challenge; /* Did we auth using challenge/response */
int proto_version; /* Remote protocol version */
@@ -194,7 +194,10 @@ class TreeSocket : public BufferedSocket
/** Send my capabilities to the remote side
*/
- void SendCapabilities();
+ void SendCapabilities(int phase);
+
+ /** Add modules to VF_COMMON list for backwards compatability */
+ void CompatAddModules(std::vector<std::string>& modlist);
/* Check a comma seperated list for an item */
bool HasItem(const std::string &list, const std::string &item);