From a98d2d295a628a8a91ffa9235e30ef5c0a77d039 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 12 Mar 2006 21:30:01 +0000 Subject: Altered some stuff to make case insensitive servernames (wont compile yet!) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3696 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 78c37c584..f484c05bf 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -114,7 +114,7 @@ static Server* Srv; /* This hash_map holds the hash equivalent of the server * tree, used for rapid linear lookups. */ -typedef nspace::hash_map server_hash; +typedef nspace::hash_map server_hash; server_hash serverlist; /* More forward declarations */ @@ -482,7 +482,7 @@ class TreeServer class Link { public: - std::string Name; + irc::string Name; std::string IPAddr; int Port; std::string SendPass; @@ -2038,7 +2038,7 @@ class TreeSocket : public InspSocket if (params.size() < 4) return false; - std::string servername = params[0]; + irc::string servername = params[0].c_str(); std::string password = params[1]; int hops = atoi(params[2].c_str()); @@ -2087,7 +2087,7 @@ class TreeSocket : public InspSocket if (params.size() < 4) return false; - std::string servername = params[0]; + irc::string servername = params[0].c_str(); std::string password = params[1]; int hops = atoi(params[2].c_str()); -- cgit v1.2.3