diff options
| author | Jules <jules@asdf.us> | 2015-01-20 16:58:11 -0500 |
|---|---|---|
| committer | Jules <jules@asdf.us> | 2015-01-20 16:58:11 -0500 |
| commit | b21b12de15bdcba857e2d5e078e6d70a9988b52e (patch) | |
| tree | cddbf68ba26862976b7a7eab3c6b31df336214b7 | |
| parent | 63bb3591a247f165f2942993fd3c43f56bfe6f07 (diff) | |
str
| -rw-r--r-- | index.html | 10 | ||||
| -rw-r--r-- | xdcc.pl | 4 |
2 files changed, 10 insertions, 4 deletions
@@ -23,9 +23,9 @@ Download it here! → → → <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 & 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> @@ -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} ); } } } |
