From b2b111041d10485a98a141b4ceaf32e88b6a20f0 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 28 Aug 2007 17:44:57 +0000 Subject: Change issid to IsSID to appease our anal retentiveness^H^H^H^H^H^H... i mean err, match the coding standards git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7957 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/utils.cpp | 4 ++-- src/modules/m_spanningtree/utils.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules') 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 -- cgit v1.2.3