From 5eb89989849ab544c43ec20beb80ac5e308638db Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 6 Apr 2005 16:31:03 +0000 Subject: Fixed casting warning in ShowMOTD under linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@989 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.3