blob: 02873970565b536ebfb487acc75e53fe448f0413 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
package f00f.net.irc.martyr.modes.channel;
import f00f.net.irc.martyr.Mode;
/**
* <p>User Limit - A user limit may be set on channels by using the
* channel flag 'l'. When the limit is reached, servers MUST
* forbid their local users to join the channel.</p>
*
* <p>The value of the limit MUST only be made available to the channel
* members in the reply sent by the server to a MODE query.</p>
* (From RFC2811)
*/
public class LimitMode extends GenericChannelMode
{
public boolean requiresParam()
{
return true;
}
public char getChar()
{
return 'l';
}
public Mode newInstance()
{
return new LimitMode();
}
}
|