summaryrefslogtreecommitdiff
path: root/src/cmd_trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_trace.cpp')
-rw-r--r--src/cmd_trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_trace.cpp b/src/cmd_trace.cpp
index 19b653842..242ff7586 100644
--- a/src/cmd_trace.cpp
+++ b/src/cmd_trace.cpp
@@ -70,7 +70,7 @@ void cmd_trace::Handle (char **parameters, int pcnt, userrec *user)
{
if (isnick(i->second->nick))
{
- if (strchr(i->second->modes,'o'))
+ if (*i->second->oper)
{
WriteServ(user->fd,"205 %s :Oper 0 %s",user->nick,i->second->nick);
}