diff options
| author | 2021-08-28 23:47:38 +0100 | |
|---|---|---|
| committer | 2021-08-28 23:47:51 +0100 | |
| commit | 932866d5e2535c0ebd760a33189d5c0a33c6e77a (patch) | |
| tree | ae6006ed79b6f44afeab482110081c8af60edf08 /src/modules/m_spanningtree/main.cpp | |
| parent | Forward SQUERY to services instead of downgrading it to PRIVMSG. (diff) | |
Make the protocol version enum entries slightly less verbose.
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 95b3a1d77..af0be49d3 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -692,11 +692,11 @@ namespace if (loading) { - const std::string linkstring = Utils->BuildLinkString(PROTO_INSPIRCD_40_A1, mod); + const std::string linkstring = Utils->BuildLinkString(PROTO_INSPIRCD_4, mod); if (!linkstring.empty()) buffer << '=' << linkstring; - const std::string compatlinkstring = Utils->BuildLinkString(PROTO_INSPIRCD_30, mod); + const std::string compatlinkstring = Utils->BuildLinkString(PROTO_INSPIRCD_3, mod); if (!linkstring.empty()) compatbuffer << '=' << compatlinkstring; } @@ -706,7 +706,7 @@ namespace if (!child->GetSocket()) continue; // Should never happen? - if (child->GetSocket()->proto_version <= PROTO_INSPIRCD_30) + if (child->GetSocket()->proto_version <= PROTO_INSPIRCD_3) CommandMetadata::Builder("modules", buffer.str()).Forward(child); else CommandMetadata::Builder("modules", compatbuffer.str()).Forward(child); |
