diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-06 16:31:03 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-06 16:31:03 +0000 |
commit | 5eb89989849ab544c43ec20beb80ac5e308638db (patch) | |
tree | 46a3ce5e54aeb7af2a6d25513c6474ca412e8470 /src | |
parent | d689d7eadefbad1c8f20edc9e25cceaf549c5a2c (diff) |
Fixed casting warning in ShowMOTD under linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@989 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
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); } |