summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-05 18:44:43 -0400
committerAdam <Adam@anope.org>2011-09-10 02:06:31 -0400
commit63cb8ca24c0d4003343340bb8413b7f84de1a6a3 (patch)
treed71f0cead730065dd8509e284d66b6767e7ebd25 /include/modes.h
parentdc5d1fa21c20000b77bf713585333c79121a8df0 (diff)
Moved signal/thread/mode checking to use signal pipes
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/modes.h b/include/modes.h
index 2fce7e9f7..1e85e3b64 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -375,6 +375,16 @@ class StackerInfo
class CoreExport ModeManager
{
protected:
+ class ModePipe : public Pipe
+ {
+ public:
+ /** Called when there are modes to be set
+ */
+ void OnNotify();
+ };
+
+ static ModePipe *mpipe;
+
/* List of pairs of user/channels and their stacker info */
static std::list<std::pair<Base *, StackerInfo *> > StackerObjects;