Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/irslackd.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,12 @@ class Irslackd {
async onSlackReady(ircUser, event) {
// Send MOTD
this.ircd.write(ircUser.socket, 'irslackd', '001', [ ircUser.ircNick, 'irslackd' ]);
// Send RPL_ISUPPORT
this.ircd.write(ircUser.socket, 'irslackd', '005', [
ircUser.ircNick,
'CHANTYPES=#',
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

There's also a debug channel that uses the & prefix. Would that also belong here?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Yes

':are supported by this server'
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nit: no need to manually stick the :, the library will do it for you.

]);
this.ircd.write(ircUser.socket, 'irslackd', '376', [ ircUser.ircNick, 'End of MOTD' ]);

// set user presence to auto instead of away
Expand Down