aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/log/libkvilog.cpp
diff options
context:
space:
mode:
authorGravatar Elvio Basello2011-04-21 21:46:35 +0000
committerGravatar Elvio Basello2011-04-21 21:46:35 +0000
commit47f21ab72c019c36a59cb99645bd51c1b7060fc9 (patch)
treece0671cab5c23eac23deaea99425cd977b4471d2 /src/modules/log/libkvilog.cpp
parentAdd a filename parameter to the log structure (diff)
downloadKVIrc-47f21ab72c019c36a59cb99645bd51c1b7060fc9.tar.gz
KVIrc-47f21ab72c019c36a59cb99645bd51c1b7060fc9.tar.bz2
KVIrc-47f21ab72c019c36a59cb99645bd51c1b7060fc9.zip
finished workin' on $log.export;
fixed typos git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5801 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/log/libkvilog.cpp')
-rw-r--r--src/modules/log/libkvilog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/log/libkvilog.cpp b/src/modules/log/libkvilog.cpp
index 2b375dc16..1c8cf0974 100644
--- a/src/modules/log/libkvilog.cpp
+++ b/src/modules/log/libkvilog.cpp
@@ -317,10 +317,11 @@ static bool log_kvs_fnc_export(KviKvsModuleFunctionCall * c)
if(!m->ctrl("logview::export",(void *)&log))
{
- // lamentarsi
+ c->error(__tr2qs_ctx("Failed to export the log %1","log").arg(szFile));
+ return false;
}
- // log.szFileName contiene il nome del file
+ c->returnValue()->setString(log.szFile);
return true;
}