From 7bad47e34b2282a752d78c3579834c6e7b01be4a Mon Sep 17 00:00:00 2001 From: Tom Early Date: Mon, 8 Apr 2019 09:59:55 -0700 Subject: [PATCH] fix for connecting to openquad.net --- QnetGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QnetGateway.cpp b/QnetGateway.cpp index 883125a..108d6d1 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -394,7 +394,7 @@ void CQnetGateway::GetIRCDataThread() bool not_announced[3]; for (int i=0; i<3; i++) not_announced[i] = this->rptr.mod[i].defined; // announce to all modules that are defined! - bool is_quadnet = (0 == ircddb.ip.compare("rr.openquad.net")); + bool is_quadnet = (std::string::npos != ircddb.ip.find(".openquad.net")); bool doFind = true; while (keep_running) { int rc = ii->getConnectionState();