From 120fab9212eb73276ed04d4cb184e8a35fde8499 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 30 Nov 2005 22:21:26 +0000 Subject: Extra externs required git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2072 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 35a0d77e4..5cc602efa 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -44,6 +44,10 @@ using namespace std; static Module* TreeProtocolModule; +extern std::vector modules; +extern std::vector factory; +extern int MODCOUNT; + enum ServerState { LISTENER, CONNECTING, WAIT_AUTH_1, WAIT_AUTH_2, CONNECTED }; typedef nspace::hash_map, irc::StrHashComp> user_hash; @@ -1635,7 +1639,7 @@ class ModuleSpanningTree : public Module } } - virtual void ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline); + virtual void ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline) { TreeSocket* s = (TreeSocket*)opaque; if (target) -- cgit v1.2.3