Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Typos

  • Loading branch information...
commit 76d7ad767d6a58448c7d1a357711b0b628be6d6d 1 parent 74c99a9
@jmslagle authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 jsbot.js
View
4 jsbot.js
@@ -252,7 +252,7 @@ bot.on('pmmed', function (data) {
if (users.hasOwnProperty(uid)) {
name = users[uid].name;
} else {
- Users.findById(uid, function(err, doc) {
+ User.findById(uid, function(err, doc) {
log(err);
if (doc) {
name=doc.name;
@@ -467,7 +467,7 @@ function doCommand(command, args, source) {
}
break;
case 'demod':
- u.findUser(args);
+ u=findUser(args);
if (u) {
bot.remModerator(u.userid);
}
Please sign in to comment.
Something went wrong with that request. Please try again.