Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add !quit command to admin rooms #253

Merged
merged 3 commits into from
Oct 26, 2016

Conversation

lukebarnard1
Copy link
Contributor

@lukebarnard1 lukebarnard1 commented Oct 26, 2016

Send !quit server.name to kill all bridgedClients that the sending user has associated with the specified server. This required some updates to the connection notices; the one that indicates a disconnect now doesn't read '...Reconnecting' and this has been replaced by a separate notice that says 'Connecting...' when a client is doing so. This does mean that if the server isn't starting up and the clients reconnect for any reason, 3 notices are now seen instead of 2, but I feel like that's a fair trade-off for being better informed.

(bridgedClient) => bridgedClient.server.domain === ircServer.domain
).forEach((bridgedClient) => {
bridgedClient.kill();
});
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No success/failure message sent back?

Copy link
Contributor Author

@lukebarnard1 lukebarnard1 Oct 26, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They will see metadata about their connection being lost. I could add even more feedback but it would feel redundant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay.

@kegsay
Copy link
Member

kegsay commented Oct 26, 2016

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants