diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 09:33:44 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-06-29 09:33:44 +0000 |
commit | e0e96f012448ba515bfd307f588efce87874da0d (patch) | |
tree | d5d74d8a0768852e7b7d94febd3759aea1076ad2 /src/inspircd.cpp | |
parent | 6fa94ee369726677bf8b0f4a5bde8faa7d754d92 (diff) |
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
Diffstat (limited to 'src/inspircd.cpp')
-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 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) { |