projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3b0ed4
)
/list num. users as topic when topic is empty - fixed
author
Darren
<darren@darrenwhitlen.com>
Thu, 27 Mar 2014 21:22:54 +0000
(21:22 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Thu, 27 Mar 2014 21:22:54 +0000
(21:22 +0000)
server/irc/commands.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/commands.js
b/server/irc/commands.js
index 6f5a9d024b27ad9abd7248f46b6dcc5975725c76..e1bf1191b1b765ec7f60398fd30a85ff24da724b 100644
(file)
--- a/
server/irc/commands.js
+++ b/
server/irc/commands.js
@@
-281,7
+281,7
@@
handlers = {
this.irc_connection.emit('server ' + this.irc_connection.irc_host.hostname + ' list_channel', {
channel: command.params[1],
num_users: parseInt(command.params[2], 10),
- topic: command.params[
command.params.length - 1]
+ topic: command.params[
3] || ''
});
},