This commit is contained in:
Cinder Roxley
2024-06-30 17:12:54 -05:00
parent 762876802f
commit f577dc0e86
17 changed files with 52 additions and 41 deletions

View File

@@ -140,7 +140,7 @@ public class IRCClient
int nameIndex = words[0].IndexOf('!');
string name = nameIndex > 0 ? words[0].Substring(1, nameIndex - 1) : words[0];
string address = words[0].Substring(nameIndex + 1);
OnMessage(words[2], name, address, lines[i].Substring(lines[i].IndexOf(":", 1, StringComparison.Ordinal) + 1));
OnMessage(words[2], name, address, lines[i].Substring(lines[i].IndexOf(':', 1) + 1));
}
}
}