diff options
Diffstat (limited to 'Examples/States')
-rw-r--r-- | Examples/States/Client.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Examples/States/Client.cs b/Examples/States/Client.cs index 76de7d6..332ba41 100644 --- a/Examples/States/Client.cs +++ b/Examples/States/Client.cs @@ -75,6 +75,10 @@ namespace StatesSample case Numeric.RPL_WELCOME: if (!_server.HasChannel("#irctokens")) Send("JOIN #irctokens"); break; + case "INVITE": + var c = line.Params[1]; + if (!_server.HasChannel(c)) Send($"JOIN {c}"); + break; } } } |