CIRCChannel.getUser Member
Syntax
object.getUser(nick);
Arguments
Argument | Summary |
---|---|
nick |
Returns
Remarks
See Also
Source Code
function chan_getuser(nick)
{
// Try assuming it's an encodedName first.
nick = this.parent.toLowerCase(nick);
if (nick in this.users)
return this.users[nick];
// Ok, failed, so try assuming it's a unicodeName.
nick = this.parent.toLowerCase(fromUnicode(nick, this.parent));
if (nick in this.users)
return this.users[nick];
return null;
}