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

Crash on MODE -o #345

Open
cjb opened this issue May 28, 2014 · 2 comments
Open

Crash on MODE -o #345

cjb opened this issue May 28, 2014 · 2 comments
Labels

Comments

@cjb
Copy link
Contributor

cjb commented May 28, 2014

   debug - set heartbeat interval for client 8BkIaWve6WUdlpjc3Rq4
28 May 01:43:43 - MODE: ##javascript sets mode: -o
{ prefix: 'Agamemnus!~Agamemnus@xxxt',
  nick: 'Agamemnus',
  user: '~Agamemnus',   
  host: 'xxx',
  command: 'MODE',
  rawCommand: 'MODE',   
  commandType: 'normal',
  args: [ '##javascript', '-o', 'Agamemnus' ],
  client_server: 'irc.freenode.net' }

/home/ubuntu/subway/node_modules/irc/lib/irc.js:664
                    throw err;
                          ^
TypeError: Cannot call method 'set' of undefined
    at util.handle_irc (/home/ubuntu/subway/src/js/handle_irc.js:78:55)
    at Client.<anonymous> (/home/ubuntu/subway/lib/connection.js:69:7)
    at Client.EventEmitter.emit (events.js:117:20)
    at /home/ubuntu/subway/node_modules/irc/lib/irc.js:661:22
    at Array.forEach (native)
    at CleartextStream.<anonymous> (/home/ubuntu/subway/node_modules/irc/lib/irc.js:655:15)
    at CleartextStream.EventEmitter.emit (events.js:95:17)
    at emitReadable_ (_stream_readable.js:408:10)

The code is:

          case "-o":
            channel.get("users").get(message.args[2]).set("type", "");
            break;
@theVDude
Copy link

I've gotten the same with +o

@thedjpetersen
Copy link
Owner

Most likely related to a bug with kicking users - leaving this open a bit to see if it crops up again for me

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

No branches or pull requests

3 participants