Merge remote-tracking branch 'origin/1.6.x'

This commit is contained in:
J-P Nurmi
2015-03-01 09:19:01 +01:00
2 changed files with 9 additions and 3 deletions
+7 -3
View File
@@ -21,6 +21,12 @@
class CChanSaverMod : public CModule {
public:
MODCONSTRUCTOR(CChanSaverMod) {
}
virtual ~CChanSaverMod() {
}
bool OnLoad(const CString& sArgsi, CString& sMessage) override {
switch (GetType()) {
case CModInfo::GlobalModule:
LoadUsers();
@@ -32,9 +38,7 @@ public:
LoadNetwork(GetNetwork());
break;
}
}
virtual ~CChanSaverMod() {
return true;
}
void LoadUsers() {