summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_spanningtree.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index b81e2e95a..c568bbbcc 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -29,8 +29,6 @@
#include "cull_list.h"
#include "aes.h"
-using irc::sockets::MatchCIDR;
-
/** If you make a change which breaks the protocol, increment this.
* If you completely change the protocol, completely change the number.
*/
@@ -3444,7 +3442,7 @@ class TreeSocket : public InspSocket
if (!found)
{
for (vector<std::string>::iterator i = Utils->ValidIPs.begin(); i != Utils->ValidIPs.end(); i++)
- if (MatchCIDR(ip, (*i).c_str()))
+ if (irc::sockets::MatchCIDR(ip, (*i).c_str()))
found = true;
if (!found)