From b549b79e3508d65b2bb6373a7f561535200b2072 Mon Sep 17 00:00:00 2001 From: Brayden Storms Date: Wed, 13 Dec 2017 15:29:01 -0900 Subject: [PATCH] Notification when you friend yourself --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index 2d4e90a..1cb1127 100644 --- a/server.js +++ b/server.js @@ -275,7 +275,8 @@ var COMMANDS = { return } if (friend == this) { - // Ignore silently + // Ignore not so silently that you just tried to friend yourself + send({cmd: 'warn', text: "Sorry you can't friend yourself... Might want to create another account and talk to them"}, this) return } var channel = Math.random().toString(36).substr(2, 8)