summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-06 00:17:11 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-06 00:17:11 +0000
commitc2cd89cd5281c688b6693001f9d3951f3b7716a3 (patch)
tree68b9e7d00ef919f09328793ac0015dd34b569f3f
parent3f8f4808f239f05d20da3e320d20974c3fb02263 (diff)
gcc fails it at exporting symbols properly :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6894 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_spanningtree/treesocket.h3
-rw-r--r--src/modules/m_spanningtree/treesocket2.cpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h
index 49c60ea13..b5457221a 100644
--- a/src/modules/m_spanningtree/treesocket.h
+++ b/src/modules/m_spanningtree/treesocket.h
@@ -95,9 +95,6 @@ class TreeSocket : public InspSocket
std::string ourchallenge; /* Challenge sent for challenge/response */
std::string theirchallenge; /* Challenge recv for challenge/response */
std::string OutboundPass; /* Outbound password */
-
- static std::map<std::string, std::string> warned; /* Server names that have had protocol violation warnings displayed for them */
-
public:
/** Because most of the I/O gubbins are encapsulated within
diff --git a/src/modules/m_spanningtree/treesocket2.cpp b/src/modules/m_spanningtree/treesocket2.cpp
index 07f477264..ca51ed464 100644
--- a/src/modules/m_spanningtree/treesocket2.cpp
+++ b/src/modules/m_spanningtree/treesocket2.cpp
@@ -34,6 +34,8 @@
/* $ModDep: m_spanningtree/timesynctimer.h m_spanningtree/resolvers.h m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/link.h m_spanningtree/treesocket.h */
+static std::map<std::string, std::string> warned; /* Server names that have had protocol violation warnings displayed for them */
+
int TreeSocket::WriteLine(std::string line)
{
Instance->Log(DEBUG, "-> %s", line.c_str());