summaryrefslogtreecommitdiff
path: root/src/coremods
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-02-15 10:58:43 +0000
committerPeter Powell <petpow@saberuk.com>2019-02-15 11:35:25 +0000
commita7fc2fe0dc845ffba1f4575e694aa1bb7f60756b (patch)
tree3d8c861e33e8b9ffe3cbd78a522a4e85fd914ec7 /src/coremods
parent168ee804903e5ee10edc04e870e36a1256885e34 (diff)
Replace GetServerPort() with server_sa.port().
Diffstat (limited to 'src/coremods')
-rw-r--r--src/coremods/core_who.cpp2
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;