@@ -156,6 +156,9 @@ async function run(ctx, argv) {
|
||||
var live = bareIrcCreateClient(spec)
|
||||
live.attach(socket)
|
||||
live.on('registered', function () {
|
||||
if (spec.generatedNick && live.state.nick) {
|
||||
bareIrcRememberNick(ctx, live.state.nick)
|
||||
}
|
||||
var joins = spec.autojoin || []
|
||||
for (var i = 0; i < joins.length; i++) live.join(joins[i])
|
||||
if (typeof ctx.bareOsIrcPresencePublish === 'function') {
|
||||
|
||||
Reference in New Issue
Block a user