• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

reactiflux / discord-irc / 459
97%
main: 97%

Build:
Build:
LAST BUILD BRANCH: upgrade-node
DEFAULT BRANCH: main
Ran 01 Jul 2017 12:21AM UTC
Jobs 2
Files 6
Run time 18s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
459

Pull #257

travis-ci

web-flow
Use ircClient.nick instead of nickname when checking current nick

As the irc library can change the nick of the bot when
connecting (e.g. because the nick is currently taken, by
some other user), `this.nickname` may not correspond to the
current nickname and so when receiving a join event upon
joining a channel (prior to the names event), the current
guard against this can pass despite it being an event for
the bot.

This modifies it to check against ircClient.nick where
relevant, and also modifies the test stubs to allow adding
the nickname to the config and exposing this functionality
in tests.

To see the failure before this patch, enable
`ircStatusNotices` and run two copies of the bot; the
second should crash upon joining a channel, as it will have
a modified nickname (e.g. 'testbot1').
Pull Request #257: Use ircClient.nick instead of nickname when guarding against events for current nick

146 of 148 branches covered (98.65%)

4 of 4 new or added lines in 1 file covered. (100.0%)

255 of 259 relevant lines covered (98.46%)

57.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 459.1 01 Jul 2017 12:21AM UTC 0
98.46
Travis Job 459.1
2 459.2 01 Jul 2017 12:21AM UTC 0
98.46
Travis Job 459.2
Source Files on build 459
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #459
  • Pull Request #257
  • PR Base - master (#445)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc