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 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)
{