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

channels with mode +l viewed from outside of channel (/mode #channel) crash jbnc #11

Closed
MRNFN80 opened this issue May 27, 2020 · 0 comments

Comments

@MRNFN80
Copy link
Contributor

MRNFN80 commented May 27, 2020

I set mode #music to +l 99, then I did /mode #music (while in the channel), jbnc was fine

I then left, and did /mode #music again and have found that it crashes.

<MODE #music

:irc.t60group.org 324 mrinfinity #music +ntl 99

:irc.t60group.org 329 mrinfinity #music 1590542373

PING :1590610609091.jbnc

<PONG :1590610609091.jbnc

<PART #music

PING :1590610619094.jbnc

<PONG :1590610619094.jbnc

:hacktioneer!hacktionee@toc.bot PRIVMSG #handshake-live :hs1quw3cv4a5qdtfeaqxs0xx3c87hcr5hmwkc0ehef REVEALED a BID of 10 HNS ($1.44) for barnaul

:hacktioneer!hacktionee@toc.bot PRIVMSG #handshake-live :hs1q6t9f2nquqquvm07s7zwpgljfeyzt0en79n5apx REVEALED a BID of 1 HNS ($0.14) for barnaul

:hacktioneer!hacktionee@toc.bot PRIVMSG #handshake-live :hs1qk5ntrketn3lc99fw0mrnah7ksrdlaycd45mpxd REVEALED a BID of 0 HNS ($0.00) for barnaul

:hacktioneer!hacktionee@toc.bot PRIVMSG #handshake-live :hs1qkynuh97epg29hflhefms2tt3yhdfcvp6x76e33 REVEALED a BID of 5.00499 HNS ($0.72) for barnaul

<MODE #music

:irc.t60group.org 324 mrinfinity #music +ntl
/home/ircd/jbnc/bouncer.js:889
curchan.limit=_mode_target[_mode_count];
^

TypeError: Cannot set property 'limit' of undefined
at Socket. (/home/ircd/jbnc/bouncer.js:889:40)
at Socket.emit (events.js:315:20)
at addChunk (_stream_readable.js:302:12)
at readableAddChunk (_stream_readable.js:278:9)
at Socket.Readable.push (_stream_readable.js:217:10)
at TCP.onStreamRead (internal/stream_base_commons.js:186:23)

my irc client sees:
-> irc.t60group.org MODE #music
<- :irc.t60group.org 324 mrinfinity #music +ntl 99
<- :irc.t60group.org 329 mrinfinity #music 1590542373

when I'm in the channel and /mode normally

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

No branches or pull requests

2 participants