Skip to content

Commit 161606d

Browse files
committed
getRole, getModule
1 parent bd8a2a2 commit 161606d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/client.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ Client.prototype.once = delegate('_subscriber', 'once');
204204
// implements ModuleSystem
205205

206206
Client.prototype.use = delegate('modules', 'use');
207-
Client.prototype.getModule = delegate('modules', 'getModule');
208-
Client.prototype.getRole = delegate('modules', 'getRole');
207+
Client.prototype.getModule = delegate('modules', 'moduleExports');
208+
Client.prototype.getRole = delegate('modules', 'roleExports');
209209
Client.prototype.initialize = delegate('modules', 'initialize');
210210
Client.prototype.isInitializable = delegate('modules', 'isInitializable');
211211
Client.prototype.addHook = delegate('modules', 'addHook');

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lodash": "2.4.x",
4242
"irc-socket": "~1.2.x",
4343
"irc-message": "1.0.x",
44-
"tennu-modules": "2.0.x",
44+
"tennu-modules": "2.1.x",
4545
"commander": "~2.1.0",
4646
"q": "~0.9.7"
4747
},

0 commit comments

Comments
 (0)