summaryrefslogtreecommitdiff
path: root/src/modules/m_chanacl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chanacl.cpp')
-rw-r--r--src/modules/m_chanacl.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/m_chanacl.cpp b/src/modules/m_chanacl.cpp
index acb8be72d..04ace2873 100644
--- a/src/modules/m_chanacl.cpp
+++ b/src/modules/m_chanacl.cpp
@@ -122,12 +122,16 @@ class ModuleChanACL : public Module
else if (memb && memb->getRank() >= minrank)
perm.result = MOD_RES_ALLOW;
else
+ {
+ perm.ErrorNumeric(ERR_CHANOPRIVSNEEDED, "%s :You do not have access to %s on this channel (ACLs active)",
+ perm.chan->name.c_str(), perm.name.c_str());
perm.result = MOD_RES_DENY;
+ }
}
Version GetVersion()
{
- return Version("Provides the ability to allow channel operators to be exempt from certain modes.",VF_VENDOR);
+ return Version("Provides the ability to define channel access control lists.",VF_VENDOR);
}
void OnRehash(User* user)