summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index e5bab171d..65b570730 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -2350,7 +2350,7 @@ void ShowMOTD(userrec *user)
}
WholeMOTD = WholeMOTD + std::string(":") + std::string(ServerName) + std::string(" 376 ") + std::string(user->nick) + std::string(" :End of message of the day.\r\n");
// only one write operation
- send(user->fd,WholeMOTD.c_str(),WholeMOTD.length(),NULL);
+ send(user->fd,WholeMOTD.c_str(),WholeMOTD.length(),0);
}