summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 2445d1188..76b604668 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -87,6 +87,11 @@ typedef std::vector<InviteItem> InviteList;
*/
typedef std::map<userrec*,userrec*> CUList;
+/** Shorthand for CUList::iterator
+ */
+typedef CUList::iterator CUListIter;
+typedef CUList::const_iterator CUListConstIter;
+
/** A list of custom modes parameters on a channel
*/
typedef std::map<char,char*> CustomModeList;
@@ -286,4 +291,3 @@ void kick_channel(userrec *src,userrec *user, chanrec *Ptr, char* reason);
void server_kick_channel(userrec* user, chanrec* Ptr, char* reason, bool triggerevents);
#endif
-