summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/utils.cpp4
-rw-r--r--src/modules/m_spanningtree/utils.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree/utils.cpp b/src/modules/m_spanningtree/utils.cpp
index 14126811f..42652d801 100644
--- a/src/modules/m_spanningtree/utils.cpp
+++ b/src/modules/m_spanningtree/utils.cpp
@@ -29,7 +29,7 @@
/* $ModDep: m_spanningtree/timesynctimer.h m_spanningtree/resolvers.h m_spanningtree/main.h m_spanningtree/utils.h m_spanningtree/treeserver.h m_spanningtree/link.h m_spanningtree/treesocket.h */
-bool SpanningTreeUtilities::issid(const std::string &str)
+bool SpanningTreeUtilities::IsSID(const std::string &str)
{
/* Returns true if the string given is exactly 3 characters long,
* contains no '.' chars and starts with a digit.
@@ -45,7 +45,7 @@ bool SpanningTreeUtilities::issid(const std::string &str)
*/
TreeServer* SpanningTreeUtilities::FindServer(const std::string &ServerName)
{
- if (issid(ServerName))
+ if (IsSID(ServerName))
return this->FindServerID(ServerName);
server_hash::iterator iter = serverlist.find(ServerName.c_str());
diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h
index 388ff2d5c..0203e7602 100644
--- a/src/modules/m_spanningtree/utils.h
+++ b/src/modules/m_spanningtree/utils.h
@@ -199,7 +199,7 @@ class SpanningTreeUtilities
/** Return true if str looks like a server ID
* @param string to check against
*/
- bool issid(const std::string &str);
+ bool IsSID(const std::string &str);
};
#endif