summaryrefslogtreecommitdiff
path: root/src/modules/cs_appendtopic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/cs_appendtopic.c')
-rw-r--r--src/modules/cs_appendtopic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/cs_appendtopic.c b/src/modules/cs_appendtopic.c
index 5e28f09a5..5475cb17e 100644
--- a/src/modules/cs_appendtopic.c
+++ b/src/modules/cs_appendtopic.c
@@ -73,7 +73,7 @@ class CommandCSAppendTopic : public Command
notice_lang(s_ChanServ, u, CHAN_X_NOT_REGISTERED, c->name);
else if (ci->flags & CI_FORBIDDEN)
notice_lang(s_ChanServ, u, CHAN_X_FORBIDDEN, ci->name);
- else if (!is_services_admin(u) && !check_access(u, ci, CA_TOPIC))
+ else if (!check_access(u, ci, CA_TOPIC))
notice_lang(s_ChanServ, u, PERMISSION_DENIED);
else
{
@@ -98,7 +98,7 @@ class CommandCSAppendTopic : public Command
else
c->topic_time = ci->last_topic_time;
- if (is_services_admin(u) && !check_access(u, ci, CA_TOPIC))
+ if (!check_access(u, ci, CA_TOPIC))
alog("%s: %s!%s@%s changed topic of %s as services admin.", s_ChanServ, u->nick, u->GetIdent().c_str(), u->host, c->name);
if (ircd->join2set)
{