summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 19:57:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-14 19:57:53 +0000
commit44bdbb3cef5ffff80e5db432eb154083c218f06f (patch)
tree28a11ab6b3a90136f5e187e0ee4f845155b3af79
parent1c49834c7f0ebd435aa577d8c48f5e6ce2c329f4 (diff)
Authentication fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@584 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/InspIRCd.layout8
-rw-r--r--src/inspircd.cpp4
2 files changed, 7 insertions, 5 deletions
diff --git a/src/InspIRCd.layout b/src/InspIRCd.layout
index 9c1ca6334..c008e236d 100644
--- a/src/InspIRCd.layout
+++ b/src/InspIRCd.layout
@@ -13,10 +13,10 @@ LeftChar=1
[Editor_1]
Open=1
Top=1
-CursorCol=34
-CursorRow=6849
-TopLine=6824
-LeftChar=1
+CursorCol=55
+CursorRow=6848
+TopLine=6803
+LeftChar=5
[Editor_2]
Open=1
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index ab24d5ed8..5497c54e0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -6842,8 +6842,10 @@ void handle_link_packet(char* udp_msg, char* udp_host, serverrec *serv)
{
for (int x = 0; x < servers[j]->connectors.size(); x++)
{
- if (servers[j]->connectors[x].GetServerName() == std::string(udp_host))
+ log("Servers are: '%s' '%s'",udp_host,servers[j]->connectors[x].GetServerName().c_str());
+ if (!strcasecmp(servers[j]->connectors[x].GetServerName().c_str(),udp_host))
{
+ log("match! process restricted stuff here");
// found a valid ircd_connector.
// TODO: Fix this so it only lets servers in that are in the
// STATE_CONNECTED state!!!