projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f03204
)
Removing obsolete vars in client.js
author
Darren
<darren@darrenwhitlen.com>
Sat, 3 Aug 2013 14:54:19 +0000
(15:54 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 3 Aug 2013 14:54:19 +0000
(15:54 +0100)
server/client.js
patch
|
blob
|
blame
|
history
diff --git
a/server/client.js
b/server/client.js
index a288c88a3aa48eac9648523b112a74075d2e834b..6fee1dc5cacc0803b5369c6a5eef4a9a4ab0b439 100755
(executable)
--- a/
server/client.js
+++ b/
server/client.js
@@
-72,7
+72,7
@@
Client.prototype.dispose = function () {
};
function handleClientMessage(msg, callback) {
- var server
, args, obj, channels, keys
;
+ var server;
// Make sure we have a server number specified
if ((msg.server === null) || (typeof msg.server !== 'number')) {
@@
-103,11
+103,10
@@
function handleClientMessage(msg, callback) {
function kiwiCommand(command, callback) {
- var that = this;
-
if (typeof callback !== 'function') {
callback = function () {};
}
+
switch (command.command) {
case 'connect':
if (command.hostname && command.port && command.nick) {