enwnbot

Converts MediaWiki [[links]] and {{templates}} to links on IRC
git clone http://git.hanabi.in/repos/enwnbot.git
Log | Files | Refs | README | LICENSE

commit 4428168b68e3302a483941b8bbc39df5dce33587
parent e97a5ad3b816920ffa056bef441c34752df119a9
Author: Sana <36829952+cognitive137@users.noreply.github.com>
Date:   Thu,  1 Oct 2020 00:52:56 +0530

Update irc.js

Add kill support.
Diffstat:
Mirc.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/irc.js b/irc.js @@ -34,9 +34,9 @@ function pm(sender, msg) { admins.forEach(admin => client.say(admin, `Message from ${sender}: ${msg}`) ); - if(msg != 'KILL') return; + if(msg != 'KILL') return; if(['pizero', 'pizero|afk', 'acagastya'].indexOf(from) < 0) return; - process.abort(); + process.abort(); } function err(msg) {