tangled
alpha
login
or
join now
benharri.org
/
ircsharp
1
fork
atom
IRC parsing, tokenization, and state handling in C#
1
fork
atom
overview
issues
pulls
pipelines
ircstates example: join on INVITE
benharri.org
5 years ago
53d25325
1ac3d27b
+4
1 changed file
expand all
collapse all
unified
split
Examples
States
Client.cs
+4
Examples/States/Client.cs
···
75
75
case Numeric.RPL_WELCOME:
76
76
if (!_server.HasChannel("#irctokens")) Send("JOIN #irctokens");
77
77
break;
78
78
+
case "INVITE":
79
79
+
var c = line.Params[1];
80
80
+
if (!_server.HasChannel(c)) Send($"JOIN {c}");
81
81
+
break;
78
82
}
79
83
}
80
84
}