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 1c968c8a8..158238579 100644
--- a/src/cmd_trace.cpp
+++ b/src/cmd_trace.cpp
@@ -30,7 +30,7 @@ CmdResult cmd_trace::Handle (const char** parameters, int pcnt, userrec *user)
{
if (i->second->registered == REG_ALL)
{
- if (*i->second->oper)
+ if (IS_OPER(i->second))
{
user->WriteServ("205 %s :Oper 0 %s",user->nick,i->second->nick);
}