Skip to content

Commit

Permalink
0.8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
S3x0r committed Nov 19, 2017
1 parent c002ea0 commit 850aa78
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CONFIG.INI
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ command_prefix = '!'
ctcp_response = 'yes'

; ctcp version response (please do not change it:)
ctcp_version = 'MINION (0.8.3) powered by minions!'
ctcp_version = 'MINION (0.8.4) powered by minions!'

; ctcf finger response
ctcp_finger = 'MINION'
Expand Down
4 changes: 4 additions & 0 deletions DOCS/CHANGELOG.TXT
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

v0.8.4 changes (19.11.2017):
- log's file name format changed to: full_year.month.day,computer_name.txt
(example: 2017.11.19,mycomputer.txt)

v0.8.3 changes (18.11.2017):
- removed some doubled code
- fix:
Expand Down
2 changes: 1 addition & 1 deletion src/define.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
die('<h2>This script can\'t be run from a web browser. Use CLI to run it -> php BOT.php</h2>');
}
//---------------------------------------------------------------------------------------------------------
define('VER', '0.8.3');
define('VER', '0.8.4');
//---------------------------------------------------------------------------------------------------------
define('START_TIME', time());
define('PHP_VER', phpversion());
Expand Down
6 changes: 3 additions & 3 deletions src/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ function Logs()
mkdir('../LOGS');
}

/* random data to prevent fetch file from panel server */
$a = random_str('5');
/* + computer name to prevent fetch file from panel server */
$a = $_SERVER['COMPUTERNAME'];

$log_file = '../LOGS/log_'.date('dmY_H-i-s').'('.$a.').TXT';
$log_file = '../LOGS/'.date('Y.m.d').','.$a.'.txt';

$data = "-------------------------".TR_22." ".date('d.m.Y | H:i:s')."-------------------------\r\n";

Expand Down

0 comments on commit 850aa78

Please sign in to comment.