diff --git a/WebModules.cpp b/WebModules.cpp index db95ffe1..6c320efc 100644 --- a/WebModules.cpp +++ b/WebModules.cpp @@ -11,6 +11,9 @@ #include "znc.h" #include +/// @todo Do we want to make this a configure option? +#define _SKINDIR_ _DATADIR_ "/webskins" + // Sessions are valid for a day, (24h, ...) CWebSessionMap CWebSock::m_mspSessions(24 * 60 * 60 * 1000); diff --git a/main.h b/main.h index 7a4c690e..f15a17f0 100644 --- a/main.h +++ b/main.h @@ -28,10 +28,6 @@ #define _DATADIR_ "/usr/share/znc" #endif -#ifndef _SKINDIR_ -#define _SKINDIR_ _DATADIR_ "/webskins" -#endif - #define MODULECALL(macFUNC, macUSER, macCLIENT, macEXITER) \ if (macUSER) { \ CGlobalModules& GMods = CZNC::Get().GetModules(); \