summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 17:44:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 17:44:57 +0000
commitb2b111041d10485a98a141b4ceaf32e88b6a20f0 (patch)
treec2dca9c97e17632458201ec7342111bc29daad96 /src
parentf94e4c9eeb00b19a5b8b0b6d90cd6395dda49952 (diff)
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
Diffstat (limited to 'src')
-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