Fix build

This commit is contained in:
Alexey Sokolov
2017-09-08 00:06:34 +01:00
parent 7e94158c6d
commit e86efb08bd
3 changed files with 18 additions and 18 deletions

View File

@@ -33,7 +33,7 @@ class CLastSeenMod : public CModule {
}
const CString FormatLastSeen(const CUser* pUser,
const char* sDefault = "") {
const CString& sDefault = "") {
time_t last = GetTime(pUser);
if (last < 1) {
return sDefault;