CIRCChanMode.setLimit Member

Sets (n > 0) or clears (n <= 0) the user count limit.

Syntax

object.setLimit(n);

Arguments

ArgumentSummary
n

Returns

Remarks

See Also

Source Code

function chanm_limit (n)
{
if ((typeof n == "undefined") || (n <= 0))
{
this.parent.parent.sendData("MODE " + this.parent.encodedName +
" -l\n");
}
else
{
this.parent.parent.sendData("MODE " + this.parent.encodedName + " +l " +
Number(n) + "\n");
}
return true;
}