summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 20:43:03 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-04-10 20:43:03 +0000
commit129416e519319360c336cb3905210fdb9b531ae2 (patch)
tree02588526c258321b185b9d03818aa057552f0e41 /include
parentecb76110fda5f1b126ae718ae44df2f9312d46c4 (diff)
Typedef an ugly iterator, dont send mode string if no modes were in the output sequence
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3867 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/mode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mode.h b/include/mode.h
index 27b06087d..d09d62439 100644
--- a/include/mode.h
+++ b/include/mode.h
@@ -85,6 +85,8 @@ class ModeWatcher
virtual void AfterMode(userrec* source, userrec* dest, chanrec* channel, const std::string &parameter, bool adding, ModeType type);
};
+typedef std::vector<ModeWatcher*>::iterator ModeWatchIter;
+
class ModeParser
{
private: