summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java')
-rw-r--r--EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java b/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java
new file mode 100644
index 000000000..13e1fc3de
--- /dev/null
+++ b/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMask.java
@@ -0,0 +1,16 @@
+package f00f.net.irc.martyr.modes.channel;
+
+
+/**
+ * 'Masks' and other modes that can have multiple copies in a channel
+ * at once should subclass this.
+ */
+public abstract class GenericChannelMask extends GenericChannelMode
+{
+ public boolean onePerChannel()
+ {
+ return false;
+ }
+}
+
+