about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorlightb <lightb@bigfoot>2014-04-22 13:07:19 -0400
committerlightb <lightb@bigfoot>2014-04-22 13:07:19 -0400
commitf95ae8b0dd98a1ccfffb4fe7866eb3007e28f8f8 (patch)
tree1f3b79037ef9effef79aecd3b2169556c7294dbd /src
parent36c6dbda86889e1854854cc00f4eb7820740e52b (diff)
downloadprofani-tty-f95ae8b0dd98a1ccfffb4fe7866eb3007e28f8f8.tar.gz
Modified otrlibv4 and otrlibv4 to add informative message when starting OTR conversation.
Diffstat (limited to 'src')
-rw-r--r--src/otr/otrlibv3.c2
-rw-r--r--src/otr/otrlibv4.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/otr/otrlibv3.c b/src/otr/otrlibv3.c
index 633d07b8..4605f614 100644
--- a/src/otr/otrlibv3.c
+++ b/src/otr/otrlibv3.c
@@ -34,7 +34,7 @@ otrlib_policy(void)
 char *
 otrlib_start_query(void)
 {
-    return "?OTR?v2?";
+ return "?OTR?v2? This user has requested an Off-the-Record private conversation. However, you do not have a plugin to support that. See http://otr.cypherpunks.ca/ for more information.";
 }
 
 static int
diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c
index 01afa868..c55d2972 100644
--- a/src/otr/otrlibv4.c
+++ b/src/otr/otrlibv4.c
@@ -35,7 +35,7 @@ otrlib_policy(void)
 char *
 otrlib_start_query(void)
 {
-    return "?OTR?v2?";
+    return "?OTR?v2? This user has requested an Off-the-Record private conversation. However, you do not have a plugin to support that. See http://otr.cypherpunks.ca/ for more information.";
 }
 
 static const char*