summaryrefslogtreecommitdiff
path: root/src/modules/m_globalload.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 16:14:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-22 16:14:36 +0000
commita1a7b96a8c994eb09a3d071f3daf28252b8c188b (patch)
treec40214c3e8295c565496983ae627b05ccef6c2d1 /src/modules/m_globalload.cpp
parent58f4306bb6e1f91076fccf30a3b43a40b3d1915a (diff)
Match conversion stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10216 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_globalload.cpp')
-rw-r--r--src/modules/m_globalload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_globalload.cpp b/src/modules/m_globalload.cpp
index d24f23aa9..a900083e1 100644
--- a/src/modules/m_globalload.cpp
+++ b/src/modules/m_globalload.cpp
@@ -31,7 +31,7 @@ class CommandGloadmodule : public Command
{
std::string servername = parameters.size() > 1 ? parameters[1] : "*";
- if (ServerInstance->MatchText(ServerInstance->Config->ServerName, servername))
+ if (InspIRCd::Match(ServerInstance->Config->ServerName, servername))
{
if (ServerInstance->Modules->Load(parameters[0].c_str()))
{
@@ -65,7 +65,7 @@ class CommandGunloadmodule : public Command
{
std::string servername = parameters.size() > 1 ? parameters[1] : "*";
- if (ServerInstance->MatchText(ServerInstance->Config->ServerName, servername))
+ if (InspIRCd::Match(ServerInstance->Config->ServerName, servername))
{
if (ServerInstance->Modules->Unload(parameters[0].c_str()))
{
@@ -99,7 +99,7 @@ class CommandGreloadmodule : public Command
{
std::string servername = parameters.size() > 1 ? parameters[1] : "*";
- if (ServerInstance->MatchText(ServerInstance->Config->ServerName, servername))
+ if (InspIRCd::Match(ServerInstance->Config->ServerName, servername))
{
if (!ServerInstance->Modules->Unload(parameters[0].c_str()))
{