[Pkg-privacy-commits] [irssi-plugin-otr] 52/267: Added settings to README.

Ximin Luo infinity0 at moszumanska.debian.org
Sat Aug 22 12:41:27 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository irssi-plugin-otr.

commit df26fc70acf4354b2413dabf507761c14e0377bf
Author: Uli Meis <a.sporto+bee at gmail.com>
Date:   Thu Feb 5 10:55:23 2009 +0100

    Added settings to README.
---
 README         | 17 +++++++++++++++++
 makeformats.py |  7 ++++---
 2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/README b/README
index 70781e5..394d891 100644
--- a/README
+++ b/README
@@ -65,3 +65,20 @@ Commands:
 	Finish an OTR conversation
 /otr version
 	Display irssi-otr version. Might be a git commit
+
+Settings:
+
+otr_policy
+	Comma-separated list of "<nick>@<server> <policy>" pairs. See comments
+	above.
+otr_policy_known
+	Same syntax as otr_policy. Only applied where a fingerprint is
+	available.
+otr_ignore
+	Conversations with nicks that match this regular expression completely
+	bypass libotr. It is very unlikely that you need to touch this setting,
+	just use the OTR policy never to prevent OTR sessions with some nicks.
+otr_finishonunload
+	If true running OTR sessions are finished on /unload and /quit.
+otr_createqueries
+	If true queries are automatically created for OTR log messages.
diff --git a/makeformats.py b/makeformats.py
index c8c9145..744c51c 100755
--- a/makeformats.py
+++ b/makeformats.py
@@ -19,9 +19,10 @@ srcx.write('#include "otr.h"\n');
 src.write("""char *otr_help = "%s";\n""" % "\\n".join(
 	["%9- OTR help -%9"]+
 	[re.sub('^(/otr.*)$','%_\\1%_',
-		re.sub('"([^"]*)"','\\"%_\\1%_\\"',
-			x.replace('\n','').replace("\t","        ") 
-			))
+		re.sub('^(otr_[a-z_]*)$','%_\\1%_',
+			re.sub('"([^"]*)"','\\"%_\\1%_\\"',
+				x.replace('\n','').replace("\t","        ") 
+				)))
 		for x in open(sys.argv[2],"r").readlines()]
 	+["%9- End of OTR help -%9"]
 	))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/irssi-plugin-otr.git



More information about the Pkg-privacy-commits mailing list