diff options
| author | 2008-08-22 15:16:46 +0000 | |
|---|---|---|
| committer | 2008-08-22 15:16:46 +0000 | |
| commit | 58f4306bb6e1f91076fccf30a3b43a40b3d1915a (patch) | |
| tree | 145095fad6904382ecf6775dedc5c981d406a61a /src/modules/m_spanningtree/utils.cpp | |
| parent | Fix a lot of calls to match() and uses of wildcard.h (which doesn't exist any... (diff) | |
Revert automated conversion by Special, as it (unfortunately) neglects some details. It provides a useful start point, though, so it'll be used as the basis for the final conversion.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10215 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/utils.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp index acf822bf7..5e1d226ab 100644 --- a/src/modules/m_spanningtree/utils.cpp +++ b/src/modules/m_spanningtree/utils.cpp @@ -15,6 +15,7 @@ #include "commands/cmd_whois.h" #include "commands/cmd_stats.h" #include "socket.h" +#include "wildcard.h" #include "xline.h" #include "transport.h" #include "socketengine.h" @@ -90,7 +91,7 @@ TreeServer* SpanningTreeUtilities::FindServerMask(const std::string &ServerName) { for (server_hash::iterator i = serverlist.begin(); i != serverlist.end(); i++) { - if (InspIRCd::Match(i->first,ServerName)) + if (match(i->first,ServerName)) return i->second; } return NULL; |
