Skip to content

Commit

Permalink
I'm dumb. Switched NickServ → ChanServ.
Browse files Browse the repository at this point in the history
  • Loading branch information
devyn committed Apr 23, 2012
1 parent 3cb808f commit 9581725
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions oftnbot.js
Expand Up @@ -208,12 +208,12 @@ util.inherits(ΩF_0Bot, Bot);

if (time < 1) time = 60000;

//console.log("(→ NickServ) QUIET " + context.channel.name + " " + md[1]);
context.client.get_user("NickServ").send("QUIET " + context.channel.name + " " + md[1]);
//console.log("(→ ChanServ) QUIET " + context.channel.name + " " + md[1]);
context.client.get_user("ChanServ").send("QUIET " + context.channel.name + " " + md[1]);

setTimeout(function () {
//console.log("(→ NickServ) UNQUIET " + context.channel.name + " " + md[1]);
context.client.get_user("NickServ").send("UNQUIET #oftn " + context.channel.name + " " + md[1]);
//console.log("(→ ChanServ) UNQUIET " + context.channel.name + " " + md[1]);
context.client.get_user("ChanServ").send("UNQUIET #oftn " + context.channel.name + " " + md[1]);
}, time);
} else {
context.channel.send_reply (context.sender, "Usage: !quiet <user> [time=1m], where time is specified as [NNd][NNh][NNm]<NN[s]>");
Expand Down

0 comments on commit 9581725

Please sign in to comment.