diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 22:21:26 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-30 22:21:26 +0000 |
commit | 120fab9212eb73276ed04d4cb184e8a35fde8499 (patch) | |
tree | 142f682053a49aab243723c1ea088688a356fe3e | |
parent | 1424c78e7e1449854f8330b45705c114619fb855 (diff) |
Extra externs required
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2072 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/m_spanningtree.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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<Module*> modules; +extern std::vector<ircd_module*> factory; +extern int MODCOUNT; + enum ServerState { LISTENER, CONNECTING, WAIT_AUTH_1, WAIT_AUTH_2, CONNECTED }; typedef nspace::hash_map<std::string, userrec*, nspace::hash<string>, 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) |