shithub: 9pro

Download patch

ref: daadb0a1ab632a225059a48d7d9d725a03e621f2
parent: 35776c80cfe58912aeb924221a4d1a73e8ea4f7a
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Fri Jan 22 11:23:27 EST 2021

ah shit. here we go again

--- a/9gc.c
+++ b/9gc.c
@@ -42,8 +42,8 @@
 static const char *nick;
 static int printjoin;
 static uint64_t chatoff, skipuntil;
-static char *regsrv = "tcp!registry.9gridchan.org!6675";
-static char *chatsrv = "tcp!grid.a-b.xyz!9990";//"tcp!chat.9gridchan.org!9997";
+static char *regsrv = "";//tcp!registry.9p.zone!6675";
+static char *chatsrv = "tcp!chat.9p.zone!9990";
 static const char *channel = "chat";
 
 static uint8_t *
@@ -234,7 +234,7 @@
 	case Rread:
 		r->read.data[r->read.size] = 0;
 		for (s = (char*)r->read.data;;) {
-			if ((s = strstr(s, "gridchat")) == NULL)
+			if ((s = strstr(s, "chat")) == NULL)
 				break;
 			for (b = s; b != (char*)r->read.data && *b != '\n'; b--);
 			if (*b == '\n')