Skip to content
This repository was archived by the owner on Jul 17, 2020. It is now read-only.

Commit ce7fc71

Browse files
author
Zirak
committed
building 0489146
1 parent 0489146 commit ce7fc71

File tree

2 files changed

+9
-19
lines changed

2 files changed

+9
-19
lines changed

master.js

Lines changed: 8 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -568,13 +568,13 @@ Math.gcd = function ( a, b ) {
568568

569569
Math.rand = function ( min, max ) {
570570
//rand() === rand( 0, 9 )
571-
if ( !min ) {
571+
if ( typeof min === 'undefined' ) {
572572
min = 0;
573573
max = 9;
574574
}
575575

576576
//rand( max ) === rand( 0, max )
577-
else if ( !max ) {
577+
else if ( typeof max === 'undefined' ) {
578578
max = min;
579579
min = 0;
580580
}
@@ -3040,6 +3040,8 @@ bot.listen(
30403040
bot.personality.apologize, bot.personality );
30413041
bot.listen( /^bitch/i, bot.personality.bitch, bot.personality );
30423042

3043+
;
3044+
30433045
;
30443046
(function () {
30453047
var hammers = {
@@ -3287,8 +3289,6 @@ IO.register( 'input', function afkInputListener ( msgObj ) {
32873289

32883290
})();
32893291

3290-
;
3291-
32923292
;
32933293
(function () {
32943294
"use strict";
@@ -4213,8 +4213,6 @@ bot.addCommand({
42134213

42144214
}());
42154215

4216-
;
4217-
42184216
;
42194217
(function () {
42204218
var findCommand = function ( args ) {
@@ -4276,8 +4274,6 @@ bot.addCommand({
42764274
});
42774275
})();
42784276

4279-
;
4280-
42814277
;
42824278
//listener to help decide which Firefly episode to watch
42834279

@@ -4423,6 +4419,8 @@ bot.addCommand({
44234419
async : true
44244420
});
44254421

4422+
;
4423+
44264424
;
44274425
(function () {
44284426
var nulls = [
@@ -5032,8 +5030,6 @@ bot.addCommand({
50325030

50335031
})();
50345032

5035-
;
5036-
50375033
;
50385034
(function () {
50395035
"use strict";
@@ -5273,8 +5269,6 @@ bot.addCommand({
52735269

52745270
})();
52755271

5276-
;
5277-
52785272
;
52795273
(function () {
52805274
"use strict";
@@ -5408,6 +5402,8 @@ IO.register( 'userregister', function tracker ( user, room ) {
54085402

54095403
})();
54105404

5405+
;
5406+
54115407
;
54125408
(function () {
54135409

@@ -5450,8 +5446,6 @@ bot.addCommand({
54505446

54515447
})();
54525448

5453-
;
5454-
54555449
;
54565450
(function () {
54575451

@@ -5844,8 +5838,6 @@ bot.addCommand({
58445838

58455839
})();
58465840

5847-
;
5848-
58495841
;
58505842
(function () {
58515843
var specParts;
@@ -6565,8 +6557,6 @@ bot.addCommand({
65656557

65666558
})();
65676559

6568-
;
6569-
65706560
;
65716561
IO.register( 'input', function ( msgObj ) {
65726562
if ( msgObj.user_id === 1386886 && Math.random() < 0.005 ) {

0 commit comments

Comments
 (0)