projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72097c7
)
Fix bug where parameters separated by multiple spaces woul result in empty string...
author
Jack Allnutt
<jack@allnutt.eu>
Tue, 3 Dec 2013 20:36:25 +0000
(20:36 +0000)
committer
Jack Allnutt
<jack@allnutt.eu>
Tue, 3 Dec 2013 20:36:25 +0000
(20:36 +0000)
server/irc/connection.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/connection.js
b/server/irc/connection.js
index 0bfca1dfc1310633bae6dd25e610a9b1e6c7ebd8..b0f3a939b980d69bf8303b9ce2339a12f5a05e0e 100644
(file)
--- a/
server/irc/connection.js
+++ b/
server/irc/connection.js
@@
-755,6
+755,6
@@
function parseIrcLine(buffer_line) {
trailing: (msg[8]) ? msg[8].trim() : ''
};
- msg.params = msg.params.split(
' '
);
+ msg.params = msg.params.split(
/ +/
);
this.irc_commands.dispatch(msg.command.toUpperCase(), msg);
}