Permalink
Browse files

dont need newline

  • Loading branch information...
Luke Slater
Luke Slater committed Dec 29, 2011
1 parent 033f77a commit 7ecbce8fb18fb418652fd73d827f0ec25833ffea
Showing with 2 additions and 2 deletions.
  1. +1 −1 globals/say.js
  2. +1 −1 run.js
View
@@ -8,6 +8,6 @@ if(modifier === '?') {
verb = 'exclaims';
}
-var output = ' ' + verb + ' "' + text + '"\r\n';
+var output = ' ' + verb + ' "' + text + '"';
echo('You' + output);
oecho(username + output);
View
2 run.js
@@ -21,7 +21,7 @@ var sandboxGen = function(nmud, user, params) {
'oecho': function(text) { // TODO: scope argument when rooms
for(index in nmud.connections) {
if(index != user.name) {
- nmud.connections[index].socket.write(output);
+ nmud.connections[index].socket.write(output + '\r\n');
}
}
},

0 comments on commit 7ecbce8

Please sign in to comment.