erc-compute-nick

erc-compute-nick is a compiled Lisp function in `erc.el'.

(erc-compute-nick &optional NICK)

Return user's IRC nick.

This tries a number of increasingly more default methods until a
non-nil value is found.

- NICK (the argument passed to this function)
- The `erc-nick' option
- The value of the IRCNICK environment variable
- The result from the `user-login-name' function