diff --git a/modules/charybdis/charybdis.js b/modules/atheme/atheme.js similarity index 82% rename from modules/charybdis/charybdis.js rename to modules/atheme/atheme.js index 4e3f936..ba78e31 100644 --- a/modules/charybdis/charybdis.js +++ b/modules/atheme/atheme.js @@ -4,7 +4,7 @@ */ var _ = require('underscore')._; -var charybdis = function(dbot) { +var atheme = function(dbot) { this.commands = { '~chanserv': function(event) { if(_.has(this.config.chanserv, event.input[1])) { @@ -22,10 +22,10 @@ var charybdis = function(dbot) { } } }; - this.commands['~chanserv'].regex = [/^chanserv (\+.)/, 2] - this.commands['~chanmode'].regex = [/^chanmode (\+.)/, 2] + this.commands['~chanserv'].regex = [/^chanserv (\+.)/, 2]; + this.commands['~chanmode'].regex = [/^chanmode (\+.)/, 2]; }; exports.fetch = function(dbot) { - return new charybdis(dbot); + return new atheme(dbot); }; diff --git a/modules/charybdis/config.json b/modules/atheme/config.json similarity index 100% rename from modules/charybdis/config.json rename to modules/atheme/config.json