Browse Source

Merge commit 'a9c6b0d1dc13ea24d58c938de710c52423265dbc' into HEAD

feature/addNonDirectMsg
Jenkins 5 years ago
parent
commit
4d08dfe4e3
  1. 2
      src/user.js

2
src/user.js

@ -42,7 +42,7 @@ function User(socket) {
this.sendMsg = function (from, message) { this.sendMsg = function (from, message) {
this.connection.write(`:${from.nickname} PRIVMSG ${this.nickname} :${message}\r\n`, "ascii")
this.sendRaw(`:${from.nickname} PRIVMSG ${this.nickname} :${message}`, "ascii")
} }
this.sendRaw = function(message) { this.sendRaw = function(message) {
this.connection.write(`${message}\r\n`, "ascii") this.connection.write(`${message}\r\n`, "ascii")

Loading…
Cancel
Save