Skip to content

Commit

Permalink
0.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Havvy committed Jan 10, 2014
1 parent 206348c commit 3a4374b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
13 changes: 12 additions & 1 deletion doc/changelog.txt
Expand Up @@ -143,4 +143,15 @@ Changelog
* Response can now be a promise of the other types (string, [string])
* Client.nickname is an instance of NicknameTracker (and still callable).
* Tennu Modules 2.0.0 Integration.
** This was supposed to be for 0.9.0, but meh.
** This was supposed to be for 0.9.0, but was needed first.
** Modules are now objects that have the following properties:
*** init: function (client, imports) => instance
*** requires: [string] OPTIONAL, names of modules
*** requiresRoles: [string] OPTIONAL, names of roles
*** role: string OPTIONAL
*** name: string Will be added for you unless you use client.initialize() directly.

0.8.1:
* client.ctcp() and client.act() fixed.
* client.initialize() renamed to client.initializeModule()
* client.isInitializable() renamed to client.isModuleInitializable()
4 changes: 2 additions & 2 deletions lib/client.js
Expand Up @@ -206,8 +206,8 @@ Client.prototype.once = delegate('_subscriber', 'once');
Client.prototype.use = delegate('_modules', 'use');
Client.prototype.getModule = delegate('_modules', 'moduleExports');
Client.prototype.getRole = delegate('_modules', 'roleExports');
Client.prototype.initialize = delegate('_modules', 'initialize');
Client.prototype.isInitializable = delegate('_modules', 'isInitializable');
Client.prototype.initializeModule = delegate('_modules', 'initialize');
Client.prototype.isModuleInitializable = delegate('_modules', 'isInitializable');
Client.prototype.addHook = delegate('_modules', 'addHook');

// implements Logger
Expand Down
2 changes: 1 addition & 1 deletion lib/output-socket.js
Expand Up @@ -56,7 +56,7 @@ var OutputSocket = function (socket, messageHandler, nickname, logger) {
},

ctcp : function recur (location, type, message) {
if (util.isArray(message)) {
if (Array.isArray(message)) {
message.forEach(function (msg) {
recur.call(this, location, type, msg);
});
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "tennu",
"version": "0.8.0",
"version": "0.8.1",
"description": "Tennu Node.js IRC Framework",
"maintainers": [
{
Expand Down

0 comments on commit 3a4374b

Please sign in to comment.