diff options
| author | 2019-02-15 10:58:43 +0000 | |
|---|---|---|
| committer | 2019-02-15 11:35:25 +0000 | |
| commit | a7fc2fe0dc845ffba1f4575e694aa1bb7f60756b (patch) | |
| tree | 3d8c861e33e8b9ffe3cbd78a522a4e85fd914ec7 /src/coremods | |
| parent | Rename User::nping to nextping for consistency with lastping. (diff) | |
Replace GetServerPort() with server_sa.port().
Diffstat (limited to 'src/coremods')
| -rw-r--r-- | src/coremods/core_who.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_who.cpp b/src/coremods/core_who.cpp index 132f8bc1e..b5f9163e1 100644 --- a/src/coremods/core_who.cpp +++ b/src/coremods/core_who.cpp @@ -274,7 +274,7 @@ bool CommandWho::MatchUser(LocalUser* source, User* user, WhoData& data) long port; while ((port = portrange.GetToken())) { - if (port == lu->GetServerPort()) + if (port == lu->server_sa.port()) { match = true; break; |
