summaryrefslogtreecommitdiff
path: root/modules/extra/cs_entrymsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/cs_entrymsg.cpp')
-rw-r--r--modules/extra/cs_entrymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/cs_entrymsg.cpp b/modules/extra/cs_entrymsg.cpp
index df68b141f..649fd69f8 100644
--- a/modules/extra/cs_entrymsg.cpp
+++ b/modules/extra/cs_entrymsg.cpp
@@ -107,7 +107,7 @@ class CommandEntryMessage : public Command
User *u = source.u;
ChannelInfo *ci = source.ci;
- if (ci && (IsFounder(u, ci) || u->Account()->HasCommand("chanserv/entrymsg")))
+ if (ci && (IsFounder(u, ci) || u->HasCommand("chanserv/entrymsg")))
{
bool success = true;
if (params[1].equals_ci("LIST"))