summaryrefslogtreecommitdiff
path: root/include/mode.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:01:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-26 21:01:04 +0000
commit644c5992ca253cc90783ac1454abd1d866632cfd (patch)
tree7f33d5b4886f83c892feea092f5ff5c96f829854 /include/mode.h
parentd58d9fb4957168c134ae1e89005ff03154366a2a (diff)
Proper fix for end-of-list numerics on restricted lists in bug #386, rather than a hackish nonmodular one.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7838 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/mode.h')
-rw-r--r--include/mode.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/mode.h b/include/mode.h
index 6d91de1a8..c8a315cce 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -228,9 +228,17 @@ class CoreExport ModeHandler : public Extensible
* If your mode is a listmode, then this method will be called for displaying an item list, e.g. on MODE #channel +modechar
* without any parameter or other modes in the command.
* @param user The user issuing the command
- * @parameter channel The channel they're requesting an item list of (e.g. a banlist, or an exception list etc)
+ * @param channel The channel they're requesting an item list of (e.g. a banlist, or an exception list etc)
*/
virtual void DisplayList(userrec* user, chanrec* channel);
+
+ /**
+ * If your mode is a listmode, this method will be called to display an empty list (just the end of list numeric)
+ * @param user The user issuing the command
+ * @param channel The channel tehy're requesting an item list of (e.g. a banlist, or an exception list etc)
+ */
+ virtual void DisplayEmptyList(userrec* user, chanrec* channel);
+
/**
* If your mode needs special action during a server sync to determine which side wins when comparing timestamps,
* override this function and use it to return true or false. The default implementation just returns true if