summaryrefslogtreecommitdiff
path: root/modules/extra/async_commands.h
diff options
context:
space:
mode:
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() { }