diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 21:30:01 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-03-12 21:30:01 +0000 |
commit | a98d2d295a628a8a91ffa9235e30ef5c0a77d039 (patch) | |
tree | 45d9d03ad96f014a2d62981aac65bb0ef5bca223 /src | |
parent | 572a7b503b434367e57ba1624f415e1c472e18a2 (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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<std::string, TreeServer*> server_hash; +typedef nspace::hash_map<irc::string, TreeServer*> 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()); |