summaryrefslogtreecommitdiffstats
path: root/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java')
-rw-r--r--EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java b/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java
new file mode 100644
index 000000000..d65f850b8
--- /dev/null
+++ b/EssentialsUpdate/src/f00f/net/irc/martyr/modes/channel/GenericChannelMode.java
@@ -0,0 +1,23 @@
+package f00f.net.irc.martyr.modes.channel;
+
+import f00f.net.irc.martyr.modes.GenericMode;
+
+/**
+ * A generic channel mode will be recorded in the channel, and there
+ * will be one per channel. Modes that can have multiple copies in
+ * the channel (masks) should subclass GenericChannelMask.
+ */
+public abstract class GenericChannelMode extends GenericMode
+{
+ public boolean recordInChannel()
+ {
+ return true;
+ }
+
+ public boolean onePerChannel()
+ {
+ return true;
+ }
+}
+
+