summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index 4dd0f8a62..29aaaa6dc 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -158,7 +158,7 @@ class cmd_check : public command_t
else
{
/* /check on an IP address, or something that doesn't exist */
- struct sockaddr_in addr;
+ insp_sockaddr addr;
long x = 0;
if (inet_aton(parameters[0], &addr.sin_addr) == 0)