summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-14 11:50:55 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2012-11-14 11:50:55 +0000
commitb2a2b2dc1adca9f089c693b520978dc4dd0e70bf (patch)
treef8f5e507ca8ad28b9ea3363f073cc601d5e6c001 /modules
parentebb5967a19ee6abdd70a965ff8ca127df47f136f (diff)
- added improved match() stolen from ircu
- fixed compile warning in m_module.c git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1653 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules')
-rw-r--r--modules/m_module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_module.c b/modules/m_module.c
index 02a8567..b8ec8dd 100644
--- a/modules/m_module.c
+++ b/modules/m_module.c
@@ -217,7 +217,7 @@ mo_module(struct Client *client_p, struct Client *source_p,
{
modp = ptr->data;
- if (!EmpyString(parv[2]) && match(parv[2], modp->name))
+ if (!EmptyString(parv[2]) && match(parv[2], modp->name))
continue;
sendto_one(source_p, form_str(RPL_MODLIST), me.name, source_p->name,