summaryrefslogtreecommitdiff
path: root/modules/extra/async_commands.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-20 01:05:16 -0500
committerAdam <Adam@anope.org>2011-02-20 01:05:16 -0500
commitc83b2b73d7c5f264dedb67b878d116b5b10a4742 (patch)
tree407251a2bb3bf738194b6ec7654b0872b6bab1d5 /modules/extra/async_commands.h
parentdfbb5264fac5b418da536cc968aed4bf5cde8b76 (diff)
Much more work on the live SQL. Should work pretty decently now under heavy load.
Diffstat (limited to 'modules/extra/async_commands.h')
-rw-r--r--modules/extra/async_commands.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/async_commands.h b/modules/extra/async_commands.h
index b6b9e7c2b..a2f650bae 100644
--- a/modules/extra/async_commands.h
+++ b/modules/extra/async_commands.h
@@ -6,11 +6,11 @@ class CommandMutex : public Thread
Mutex mutex;
// Set to true when this thread is processing data that is not thread safe (eg, the command)
bool processing;
- Command *command;
CommandSource source;
+ Command *command;
std::vector<Anope::string> params;
- CommandMutex() : Thread(), processing(true) { }
+ CommandMutex(CommandSource &s, Command *c, const std::vector<Anope::string> &p) : Thread(), processing(true), source(s), command(c), params(p) { }
~CommandMutex() { }