This repository has been archived by the owner on Jul 17, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fucking fuck to the fucking fuckimum piece of retarded shit fucking h…
…ell how could I have been so fucking stupid fuck me
- Loading branch information
Zirak
committed
May 25, 2013
1 parent
007e3fb
commit 940b9f0
Showing
4 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2840,10 +2840,10 @@ var join = function ( msgObj ) { | |
}; | ||
|
||
IO.register( 'userjoin', function ( msgObj ) { | ||
bot.log( msgObj, 'userjoin' ); | ||
bot.log( msgObj, bot.users[msgObj.user_id], 'userjoin' ); | ||
|
||
var user = bot.users[ msgObj.user_id ]; | ||
if ( user ) { | ||
if ( !user ) { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
AmaanC
via email
Contributor
|
||
join( msgObj ); | ||
} | ||
else { | ||
|
@@ -4899,9 +4899,10 @@ function muteList () { | |
} | ||
|
||
IO.register( 'userregister', function permissionCb ( user, room ) { | ||
bot.log( user, room, 'permissionCb' ); | ||
var id = user.id; | ||
|
||
if ( room !== ownerRoom || bot.isOwner(id) || muted[id] ) { | ||
if ( Number(room) !== ownerRoom || bot.isOwner(id) || muted[id] ) { | ||
bot.log( 'not giving voice', user, room ); | ||
return; | ||
} | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I hate myself so much