summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-26 23:32:03 -0400
commit57bb7593059242652c57aae4391b45416dc7fa70 (patch)
tree80b1b21308a0ce7e55bc5b8e278ed6cc95c07e8c /src/servers.cpp
parent6e6b6b46aabfb3e558f66bd0fdc528e93505cf76 (diff)
Trying to make things a little more const-safe, a work in progress but this is a bit better.
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;
}