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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd_trace.cpp b/src/cmd_trace.cpp
index c2c298d29..ea07ee258 100644
--- a/src/cmd_trace.cpp
+++ b/src/cmd_trace.cpp
@@ -31,16 +31,16 @@ void cmd_trace::Handle (const char** parameters, int pcnt, userrec *user)
{
if (*i->second->oper)
{
- WriteServ(user->fd,"205 %s :Oper 0 %s",user->nick,i->second->nick);
+ user->WriteServ("205 %s :Oper 0 %s",user->nick,i->second->nick);
}
else
{
- WriteServ(user->fd,"204 %s :User 0 %s",user->nick,i->second->nick);
+ user->WriteServ("204 %s :User 0 %s",user->nick,i->second->nick);
}
}
else
{
- WriteServ(user->fd,"203 %s :???? 0 [%s]",user->nick,i->second->host);
+ user->WriteServ("203 %s :???? 0 [%s]",user->nick,i->second->host);
}
}
}