summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/TopicLockMode.java
blob: c6f9b8a81f5d8af5b3f248b2fa3d5cb957864eaf (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
package f00f.net.irc.martyr.modes.channel;

import f00f.net.irc.martyr.Mode;

/**
 *    <p>Topic - The channel flag 't' is used to restrict the usage of the TOPIC
 *    command to channel operators.</p>
 * (From RFC2811)
 */
public class TopicLockMode extends GenericChannelMode
{
	public boolean requiresParam()
	{
		return false;
	}
	
	public char getChar()
	{
		return 't';
	}
	
	public Mode newInstance()
	{
		return new TopicLockMode();
	}
}