summaryrefslogtreecommitdiff
path: root/modules/commands/cs_log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/cs_log.cpp')
-rw-r--r--modules/commands/cs_log.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules/commands/cs_log.cpp b/modules/commands/cs_log.cpp
index 41d8229f6..b3ad62859 100644
--- a/modules/commands/cs_log.cpp
+++ b/modules/commands/cs_log.cpp
@@ -12,7 +12,6 @@
/*************************************************************************/
#include "module.h"
-#include "memoserv.h"
class CommandCSLog : public Command
{
@@ -31,7 +30,7 @@ public:
ChannelInfo *ci = ChannelInfo::Find(channel);
if (ci == NULL)
source.Reply(CHAN_X_NOT_REGISTERED, channel.c_str());
- else if (!source.AccessFor(ci).HasPriv("SET") && !source.HasPriv("chanserv/set"))
+ else if (!source.AccessFor(ci).HasPriv("SET") && !source.HasPriv("chanserv/administration"))
source.Reply(ACCESS_DENIED);
else if (params.size() == 1)
{
@@ -185,10 +184,9 @@ class CSLog : public Module
CommandCSLog commandcslog;
public:
- CSLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ CSLog(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
MSService("MemoServService", "MemoServ"), commandcslog(this)
{
- this->SetAuthor("Anope");
Implementation i[] = { I_OnLog };
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));