ircstates example: join on INVITE
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Ben Harris 2020-11-10 15:14:52 -05:00
parent 1ac3d27bd6
commit 53d2532577
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}
}
}