idOf

Returns either the nickname or the account of a user, depending on whether the account is known.

  1. auto idOf(IRCUser user)
    pragma(inline, true) pure @safe nothrow @nogc
    idOf
    ()
  2. auto idOf(IRCPlugin plugin, string nickname)

Parameters

user IRCUser

IRCUser to examine.

Return Value

Type: auto

The nickname or account of the passed user.