Skip to content

Commit

Permalink
been awhile since I used js
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearace committed Jan 27, 2015
1 parent b94b7ea commit 5036169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/chatcommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ var chatHandlers = {
if (!hasPermission)
return

if (username.toLowerCase() == data.toLowerCase())
if (username.toLowerCase() === data.toLowerCase())
return

bot.sendChatMsg("/ban " + data, true)
Expand Down Expand Up @@ -458,7 +458,7 @@ var chatHandlers = {
if (!hasPermission)
return

if (username.toLowerCase() == data.toLowerCase())
if (username.toLowerCase() === data.toLowerCase())
return

bot.sendChatMsg("/ipban " + data, true)
Expand Down

0 comments on commit 5036169

Please sign in to comment.