summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules <jules@asdf.us>2015-01-20 16:58:11 -0500
committerJules <jules@asdf.us>2015-01-20 16:58:11 -0500
commitb21b12de15bdcba857e2d5e078e6d70a9988b52e (patch)
treecddbf68ba26862976b7a7eab3c6b31df336214b7
parent63bb3591a247f165f2942993fd3c43f56bfe6f07 (diff)
str
-rw-r--r--index.html10
-rw-r--r--xdcc.pl4
2 files changed, 10 insertions, 4 deletions
diff --git a/index.html b/index.html
index 16170e5..d12e3b6 100644
--- a/index.html
+++ b/index.html
@@ -23,9 +23,9 @@ Download it here! &rarr; &rarr; &rarr; <a href="xdcc.pl" style="color:blue!impor
-reset: Reset the file list and the queue
-stats: Statistics for this session
-enable: Enable the XDCC server
+-disable: Disable the XDCC server
-trust: Trust users from #channel to upload files
-distrust: Stop trusting users on #channel
--disable: Disable the XDCC server
-help: Display this help.</pre>
Examples:
@@ -71,8 +71,14 @@ and also modify the XDCC offerings using these commands:
<h3>Tips &amp; Tricks</h3>
<ul>
-<li> Turn on DCC autoget, if you want to allow uplaods - <tt><i>/set dcc_autoget <b>ON</b></i></tt>
+<li> Turn on DCC autoget, if you want to allow uploads - <tt><i>/set dcc_autoget <b>ON</b></i></tt>
<li> The script will look for files in <tt><i>dcc_upload_path</i></tt> which is usually your home directory.
+<li> If you're using the public fileserver, you'll probably want to use something other than your home directory.
+ Make sure the directory exists and that these are the same thing:
+ <ul>
+ <li> <tt><i>/set dcc_upload_path <b>~/dir</b></i></tt>
+ <li> <tt><i>/set dcc_download_path <b>~/dir</b></i></tt>
+ </ul>
<li> Filenames must not contain spaces.
<li> Absolute paths are fine, only the filename will be shown.
</ul>
diff --git a/xdcc.pl b/xdcc.pl
index f1eb47c..4f19fce 100644
--- a/xdcc.pl
+++ b/xdcc.pl
@@ -276,8 +276,8 @@ sub xdcc_delete {
$id -= 1;
if (xdcc_is_trusted($server, $nick)) {
my $file = xdcc_del($index);
- if ($file ) {
- xdcc_message( $server, $nick, 'xdcc_deleted', $file->{id}+1, $file->{fn} );
+ if ($file) {
+ xdcc_message( $server, $nick, 'xdcc_deleted_file', $file->{id}+1, $file->{fn} );
}
}
}