From e17a73b8591741d00e7727d2dc016e3509a62033 Mon Sep 17 00:00:00 2001 From: Janik Kleinhoff Date: Sun, 25 Dec 2016 19:08:11 +0000 Subject: Split 'pass' option into 'server_pass', 'account_pass' Also remove the --pass command-line option for now and introduce a backward compatibility check that warns when the old option is encountered. This check is now placed with the mysql option checks in a dedicated function. --- So one day, I looked over the AntiSpamMeta console log and noticed NickServ was echoing back part of the password to us in a "no such username" error. This is due to us using the 'pass' option for both nickserv and server password, so we sent PASS NickServPassword. However, the password happened to have a ':' in it, so services interpreted it as a user:password combination. --- config-default/settings.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'config-default') diff --git a/config-default/settings.json b/config-default/settings.json index 6a9a796..aed9781 100644 --- a/config-default/settings.json +++ b/config-default/settings.json @@ -1,4 +1,5 @@ { + "account_pass" : "NICKSERV PASSWORD GOES HERE", "altnicks" : [ "AntiSpamMeta_", "AntiSpamMeta2" @@ -18,12 +19,12 @@ }, "masterchan" : "#antispammeta", "nick" : "AntiSpamMeta", - "pass" : "NICKSERV/SERVER PASSWORD GOES HERE", "port" : "6697", "realname" : "https://antispammeta.net/", "server" : [ "irc.freenode.net" ], + "server_pass" : "SERVER PASSWORD GOES HERE", "ssl" : "1", "username" : "MetaBot", "web" : { -- cgit v1.2.3