diff options
| author | 2008-09-08 20:59:16 +0000 | |
|---|---|---|
| committer | 2008-09-08 20:59:16 +0000 | |
| commit | 36b68893df73fa2b2a9ab579172350cfd90c2e80 (patch) | |
| tree | d7db6bc289763adc684ce916b6529b9155b57793 /src/modules/m_httpd.cpp | |
| parent | More compile fixes. (diff) | |
Remove crappy, unsafe (and now unneeded!) casts.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10476 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd.cpp')
| -rw-r--r-- | src/modules/m_httpd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd.cpp b/src/modules/m_httpd.cpp index ec4aec43c..9b59ea6bb 100644 --- a/src/modules/m_httpd.cpp +++ b/src/modules/m_httpd.cpp @@ -378,7 +378,7 @@ class HttpListener : public ListenSocketBase virtual void OnAcceptReady(const std::string &ipconnectedto, int nfd, const std::string &incomingip) { - new HttpServerSocket(ServerInstance, nfd, (char *)incomingip.c_str(), index); // XXX unsafe casts suck + new HttpServerSocket(ServerInstance, nfd, incomingip.c_str(), index); } }; |
