summaryrefslogtreecommitdiff
path: root/src/cmd_stats.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd_stats.cpp')
-rw-r--r--src/cmd_stats.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_stats.cpp b/src/cmd_stats.cpp
index 1af031611..c4871450e 100644
--- a/src/cmd_stats.cpp
+++ b/src/cmd_stats.cpp
@@ -57,7 +57,7 @@ void cmd_stats::Handle (const char** parameters, int pcnt, userrec *user)
string_list values;
DoStats(*parameters[0], user, values);
for (size_t i = 0; i < values.size(); i++)
- Write(user->fd, ":%s", values[i].c_str());
+ user->Write(":%s", values[i].c_str());
}
void DoStats(char statschar, userrec* user, string_list &results)