diff options
author | Peter Powell <petpow@saberuk.com> | 2019-02-15 10:58:43 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-02-15 11:35:25 +0000 |
commit | a7fc2fe0dc845ffba1f4575e694aa1bb7f60756b (patch) | |
tree | 3d8c861e33e8b9ffe3cbd78a522a4e85fd914ec7 /src/modules/m_close.cpp | |
parent | 168ee804903e5ee10edc04e870e36a1256885e34 (diff) |
Replace GetServerPort() with server_sa.port().
Diffstat (limited to 'src/modules/m_close.cpp')
-rw-r--r-- | src/modules/m_close.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp index b0b45b4b6..c2a94a6ff 100644 --- a/src/modules/m_close.cpp +++ b/src/modules/m_close.cpp @@ -44,7 +44,7 @@ class CommandClose : public Command if (user->registered != REG_ALL) { ServerInstance->Users->QuitUser(user, "Closing all unknown connections per request"); - std::string key = ConvToStr(user->GetIPString())+"."+ConvToStr(user->GetServerPort()); + std::string key = ConvToStr(user->GetIPString())+"."+ConvToStr(user->server_sa.port()); closed[key]++; } } |