diff options
Diffstat (limited to 'Swiftob/LuaCommands.cpp')
| -rw-r--r-- | Swiftob/LuaCommands.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiftob/LuaCommands.cpp b/Swiftob/LuaCommands.cpp index 89f5159..d27c131 100644 --- a/Swiftob/LuaCommands.cpp +++ b/Swiftob/LuaCommands.cpp @@ -9,24 +9,26 @@ #include <boost/bind.hpp> #include <vector> #include <algorithm> #include <iostream> #include <Swiften/Base/foreach.h> #include <Swiften/Client/Client.h> #include <Swiften/Network/TimerFactory.h> #include <boost/filesystem/operations.hpp> #include <Swiftob/Commands.h> +#include <Swiften/Base/BoostFilesystemVersion.h> + #define LUA_COMMANDS "__Lua_Commands" #define STORAGE "__Storage" LuaCommands::LuaCommands(Commands* commands, const std::string& path, Client* client, TimerFactory* timerFactory, MUCs* mucs) : path_(path), scriptsPath_(boost::filesystem::path(path_) / "scripts") { commands_ = commands; client_ = client; timerFactory_ = timerFactory; mucs_ = mucs; commands_->onReset.connect(boost::bind(&LuaCommands::registerCommands, this)); registerCommands(); } |
Swift