diff options
| author | 2008-09-21 12:56:03 +0000 | |
|---|---|---|
| committer | 2008-09-21 12:56:03 +0000 | |
| commit | ad3524174350633c25dc8a4e5ffbb7066c4b8cba (patch) | |
| tree | 32b54faeca449b75ae9bc9f839c36ef448c9dd57 /src/modules/m_spanningtree/encap.cpp | |
| parent | Fixes. Dont try and catch exceptions within the RLine ctor, we dont always wa... (diff) | |
Be consistent. Use ServerInstance in all places instead of 'Instance' in half. This has bugged me forever :p. I think I got all of extra/ too..
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10579 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/encap.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/encap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/encap.cpp b/src/modules/m_spanningtree/encap.cpp index 02233e916..3bafe5b2f 100644 --- a/src/modules/m_spanningtree/encap.cpp +++ b/src/modules/m_spanningtree/encap.cpp @@ -27,10 +27,10 @@ bool TreeSocket::Encap(const std::string &prefix, std::deque<std::string> ¶m { if (params.size() > 1) { - if (InspIRCd::Match(Instance->Config->GetSID(), params[0])) + if (InspIRCd::Match(ServerInstance->Config->GetSID(), params[0])) { Event event((char*) ¶ms, (Module*)this->Utils->Creator, "encap_received"); - event.Send(Instance); + event.Send(ServerInstance); } if (params[0].find('*') != std::string::npos) |
