summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/m_resv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/m_resv.c b/modules/m_resv.c
index efe700e..ba0e540 100644
--- a/modules/m_resv.c
+++ b/modules/m_resv.c
@@ -378,7 +378,7 @@ remove_resv(struct Client *source_p, const char *name)
resv_p = map_to_conf(conf);
- if (IsConfDatabase(resv_p))
+ if (!IsConfDatabase(resv_p))
{
sendto_one(source_p,
":%s NOTICE %s :The RESV for nick: %s is in ircd.conf and must be removed by hand.",