summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index 251e594ea..d53f58f6e 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -143,7 +143,7 @@ const Anope::string &Server::GetName() const
/** Get the number of hops this server is from services
* @return Number of hops
*/
-unsigned int Server::GetHops() const
+unsigned Server::GetHops() const
{
return Hops;
}
@@ -183,7 +183,7 @@ const std::list<Server*> *Server::GetLinks() const
/** Get the uplink server for this server, if this is our uplink will be Me
* @return The servers uplink
*/
-Server *Server::GetUplink() const
+Server *Server::GetUplink()
{
return UplinkServer;
}