Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearace committed Apr 10, 2015
1 parent 61b06f5 commit e2d0375
Show file tree
Hide file tree
Showing 3 changed files with 810 additions and 810 deletions.
2 changes: 1 addition & 1 deletion lib/cytubebot.js
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ CytubeBot.prototype.getQuote = function(nick) {
// server - The input from config.json
CytubeBot.prototype.getSocketURL = function(server) {
var bot = this
var defaultReg = new RegEx("(https?:\/\/)?(.*:\d*)")
var defaultReg = /(https?:\/\/)?(.*:\d*)/

if (server.match(defaultReg)) {
this.logger.syslog.log("!~~~! Found socketIO info in config")
Expand Down
Loading

0 comments on commit e2d0375

Please sign in to comment.