summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 2e4ae0d8f..db30cace9 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -91,7 +91,7 @@ void split_chlist(userrec* user, userrec* dest, const std::string &cl)
if (line.length() + length - start > 510)
{
- Write_NoFormat(user->fd, line.c_str());
+ user->Write(line);
line = prefix.str();
}
@@ -108,7 +108,7 @@ void split_chlist(userrec* user, userrec* dest, const std::string &cl)
if (line.length())
{
- Write_NoFormat(user->fd, line.c_str());
+ user->Write(line);
}
}