Skip to content

Commit

Permalink
Altered some stuff to make case insensitive servernames (wont compile…
Browse files Browse the repository at this point in the history
… yet!)

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3696 e03df62e-2008-0410-955e-edbf42e46eb7
  • Loading branch information
braindigitalis committed Mar 12, 2006
1 parent 572a7b5 commit a98d2d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/modules/m_spanningtree.cpp
Expand Up @@ -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 */
Expand Down Expand Up @@ -482,7 +482,7 @@ class TreeServer
class Link
{
public:
std::string Name;
irc::string Name;
std::string IPAddr;
int Port;
std::string SendPass;
Expand Down Expand Up @@ -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());

Expand Down Expand Up @@ -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());

Expand Down

0 comments on commit a98d2d2

Please sign in to comment.