diff options
Diffstat (limited to 'src/cmd_topic.cpp')
-rw-r--r-- | src/cmd_topic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_topic.cpp b/src/cmd_topic.cpp index bd7308f26..57b4e0433 100644 --- a/src/cmd_topic.cpp +++ b/src/cmd_topic.cpp @@ -71,7 +71,7 @@ void cmd_topic::Handle (const char** parameters, int pcnt, userrec *user) user->WriteServ("442 %s %s :You're not on that channel!",user->nick, Ptr->name); return; } - if ((Ptr->modes[CM_TOPICLOCK]) && (cstatus(user,Ptr)<STATUS_HOP)) + if ((Ptr->modes[CM_TOPICLOCK]) && (Ptr->GetStatus(user) < STATUS_HOP)) { user->WriteServ("482 %s %s :You must be at least a half-operator to change modes on this channel", user->nick, Ptr->name); return; |