Permalink
Browse files

Disallow !g command to access w3schools.com.

  • Loading branch information...
1 parent 5083788 commit 54d94ea01e839bbb4d414d94aac23254c348f9d1 @dsamarin dsamarin committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 shared.js
View
@@ -16,7 +16,7 @@ function parse_regex_literal (text) {
var Shared = module.exports = {
google: function(context, text) {
- FeelingLucky(text, function(data) {
+ FeelingLucky(text + " -site:w3schools.com", function(data) {
if (data) {
context.channel.send_reply (context.intent,
"\x02"+data.title+"\x0F \x032<"+data.url+">\x0F", {color: true});

0 comments on commit 54d94ea

Please sign in to comment.