From e0e96f012448ba515bfd307f588efce87874da0d Mon Sep 17 00:00:00 2001 From: om Date: Thu, 29 Jun 2006 09:33:44 +0000 Subject: You don't need to cast a char* to a char* to put it through a const char*... git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4083 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 631d4920c..80c80a1cf 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -873,7 +873,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) { try { - Config->GetIOHook(in_port)->OnRawSocketAccept(incomingSockfd, (char*)inet_ntoa(client.sin_addr), in_port); + Config->GetIOHook(in_port)->OnRawSocketAccept(incomingSockfd, inet_ntoa(client.sin_addr), in_port); } catch (ModuleException& modexcept) { -- cgit v1.2.3