diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-03 04:08:20 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-10-03 04:08:20 +0000 |
commit | 8ed74be517990d100bdfe237a002d5115ea85a5e (patch) | |
tree | b9d50cac1077d59fb06cc9b164572573ad393e7a /src/users.cpp | |
parent | de25d946733f774e3a5b53a58438a9c92af0acbe (diff) |
Fix crash due to null address in DNS
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11797 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/users.cpp b/src/users.cpp index 33931fd45..c3f1f3ae5 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1049,14 +1049,6 @@ const char* User::GetCIDRMask(int range) return ""; // unused, but oh well } -std::string User::GetServerIP() -{ - int port; - std::string ip; - irc::sockets::satoap(&server_sa, ip, port); - return ip; -} - const char* User::GetIPString() { int port; |