summaryrefslogtreecommitdiff
path: root/modules/core/cs_topic.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-03-14 13:52:26 -0400
committerAdam <Adam@anope.org>2011-03-14 13:52:26 -0400
commited73d7675152ccc66f20daedca8586a8de254a84 (patch)
tree18f7a1a53a717f24d061550c6670ca6f0ed54f9f /modules/core/cs_topic.cpp
parent4fe49af8401b956249d924b89b3e69bce5fb6744 (diff)
Rewrote some of the opertype system, added os_login
Diffstat (limited to 'modules/core/cs_topic.cpp')
-rw-r--r--modules/core/cs_topic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/cs_topic.cpp b/modules/core/cs_topic.cpp
index 9798a12c0..8fd23f7f1 100644
--- a/modules/core/cs_topic.cpp
+++ b/modules/core/cs_topic.cpp
@@ -31,7 +31,7 @@ class CommandCSTopic : public Command
if (!c)
source.Reply(_(CHAN_X_NOT_IN_USE), ci->name.c_str());
- else if (!check_access(u, ci, CA_TOPIC) && !u->Account()->HasCommand("chanserv/topic"))
+ else if (!check_access(u, ci, CA_TOPIC) && !u->HasCommand("chanserv/topic"))
source.Reply(_(ACCESS_DENIED));
else
{