mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-12 07:30:45 +01:00
closes #117
This commit is contained in:
@@ -184,6 +184,10 @@ var RDB = require('./redis.js'),
|
||||
}
|
||||
|
||||
Posts.reply = function(socket, tid, uid, content, images) {
|
||||
if(content) {
|
||||
content = content.trim();
|
||||
}
|
||||
|
||||
if (uid < 1) {
|
||||
socket.emit('event:alert', {
|
||||
title: 'Reply Unsuccessful',
|
||||
|
||||
Reference in New Issue
Block a user