diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 10:37:16 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-01 10:37:16 +0000 |
commit | c80508b28be5947648f59710e6653f793a73bd76 (patch) | |
tree | 87c3c9509ba2ae20312604d13ee14abcbea8b948 /src/modules/m_check.cpp | |
parent | 15a3422e9ef297a6867d3c00b1d46079399739c7 (diff) |
Move to entirely using insp_sockaddr and insp_inaddr for socket stuff, first step on the road to ipv6 support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4609 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 2 |
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) |