blob: 8d5faeac3dd4898d053406d9b29d253f7016d3dc (
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
32
33
34
|
package f00f.net.irc.martyr.modes.channel;
import f00f.net.irc.martyr.Mode;
/**
* <p>Voice Privilege - The mode 'v' is used to give and take voice
* privilege to/from a channel member. Users with this privilege
* can talk on moderated channels. (See section 4.2.3 (Moderated
* Channel Flag).</p>
* (From RFC2811)
*/
public class VoiceMode extends GenericChannelMode
{
public boolean requiresParam()
{
return true;
}
public char getChar()
{
return 'v';
}
public boolean recordInChannel()
{
return false;
}
public Mode newInstance()
{
return new VoiceMode();
}
}
|