Skip to content

Commit

Permalink
Fix post-offline-refactor bugs.
Browse files Browse the repository at this point in the history
  • Loading branch information
guipn committed Mar 20, 2012
1 parent c7e0545 commit f15d1fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions commands.js
Expand Up @@ -17,7 +17,7 @@ function tokenize(msg) {
}


cmd.dispatch = function (packet, dispatcher) {
cmd.dispatch = function (dispatcher, packet) {

var tokens = tokenize(packet.message),
name = tokens[0];
Expand Down Expand Up @@ -47,7 +47,7 @@ cmd.prv.auth = function (tokens, packet) {
}

if (tokens[1] !== correctPass) {
config.network.send(
packet.network.send(
irc.outbound.say(packet.sender, 'Invalid password.')
);
}
Expand Down
2 changes: 1 addition & 1 deletion config.json
@@ -1,5 +1,5 @@
{
"server": "irc.freenode.net",
"server": "niven.freenode.net",
"port": "6667",
"nick": "mutalirc",
"owner": "guidj0s",
Expand Down
1 change: 0 additions & 1 deletion mutalirc.js
Expand Up @@ -77,4 +77,3 @@ function handleMessage(dispatcher, packet) {

cmd.dispatch(dispatcher, packet);
}

0 comments on commit f15d1fa

Please sign in to comment.