src code

instance method IRC#pass

IRC#pass(password) → self
  • password (String) – Server password

Issue a server password. Note that this must be sent before anything else, and is handled automatically by the connect method - so it’s kinda useless outside of this class. Be sure to set a pass in the options should you need to connect with a password.

Examples

irc_instance.pass('lol123');