projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6146b3
)
Don't send empty WHOIS commands
author
Darren
<darren@darrenwhitlen.com>
Wed, 5 Jun 2013 22:27:46 +0000
(23:27 +0100)
committer
Darren
<darren@darrenwhitlen.com>
Wed, 5 Jun 2013 22:27:46 +0000
(23:27 +0100)
client/assets/src/models/application.js
patch
|
blob
|
blame
|
history
diff --git
a/client/assets/src/models/application.js
b/client/assets/src/models/application.js
index f47e6c139bd6986701ebe4902f7f3d33732d7329..59b7d262d78a02fa4996b6b22518251e99289af2 100644
(file)
--- a/
client/assets/src/models/application.js
+++ b/
client/assets/src/models/application.js
@@
-768,7
+768,8
@@
_kiwi.model.Application = function () {
nick = _kiwi.app.panels().active.get('name');
\r
}
\r
\r
- _kiwi.app.connections.active_connection.gateway.raw('WHOIS ' + nick + ' ' + nick);
\r
+ if (nick)
\r
+ _kiwi.app.connections.active_connection.gateway.raw('WHOIS ' + nick + ' ' + nick);
\r
}
\r
\r
\r