summaryrefslogtreecommitdiff
path: root/modules/m_resv.c
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-25 15:00:52 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-04-25 15:00:52 +0000
commit26c553d0b0b4edb6088324d44c9b05c513d4253e (patch)
tree2e712920fa5f79385b3a2f69e02f63bdca481984 /modules/m_resv.c
parentbdb5e02835c2dd4120c0b189c2ac7c7ab88f82e1 (diff)
- Added basic support for libGeoIP
- Added exempt configuration option to resv{} blocks git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/trunk@1858 82007160-df01-0410-b94d-b575c5fd34c7
Diffstat (limited to 'modules/m_resv.c')
-rw-r--r--modules/m_resv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_resv.c b/modules/m_resv.c
index 6cdd293..9fd3cbb 100644
--- a/modules/m_resv.c
+++ b/modules/m_resv.c
@@ -221,7 +221,7 @@ parse_resv(struct Client *source_p, char *name, int tkline_time, char *reason)
{
struct MaskItem *conf = NULL;
- if ((conf = create_channel_resv(name, reason)) == NULL)
+ if ((conf = create_resv(name, reason, NULL)) == NULL)
{
sendto_one(source_p,
":%s NOTICE %s :A RESV has already been placed on channel: %s",
@@ -281,7 +281,7 @@ parse_resv(struct Client *source_p, char *name, int tkline_time, char *reason)
return;
}
- if ((conf = create_nick_resv(name, reason)) == NULL)
+ if ((conf = create_resv(name, reason, NULL)) == NULL)
{
sendto_one(source_p,
":%s NOTICE %s :A RESV has already been placed on nick %s",