summaryrefslogtreecommitdiff
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:07:27 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-01 15:07:27 +0000
commit6278262baaed06e2acf134c53ed0485136d61f50 (patch)
tree4cf7a6f83e0a95ea6e8ef8356422595731af46ee /src/modules/m_check.cpp
parentb796d975cfc6212fe689bda35440d60e2219e03d (diff)
Rename User::GetPort to GetServerPort to clarify its purpose
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11577 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r--src/modules/m_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp
index acde4ad30..4172e19a3 100644
--- a/src/modules/m_check.cpp
+++ b/src/modules/m_check.cpp
@@ -88,7 +88,7 @@ class CommandCheck : public Command
user->WriteServ(checkstr + " onip " + targuser->GetIPString());
if (IS_LOCAL(targuser))
{
- user->WriteServ(checkstr + " onport " + ConvToStr(targuser->GetPort()));
+ user->WriteServ(checkstr + " onport " + ConvToStr(targuser->GetServerPort()));
std::string classname = targuser->GetClass()->name;
if (!classname.empty())
user->WriteServ(checkstr + " connectclass " + classname);