diff options
author | James Booth <boothj5@gmail.com> | 2014-03-24 21:02:10 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-03-24 21:02:10 +0000 |
commit | 9815ef3b02dfc05ed2e2dbe40d017b91f4f4fa41 (patch) | |
tree | 54faa16e96e84d8b0ff8aedb0e21b87726bea552 | |
parent | 8306d4c24421993fc04837499e7682dad4948878 (diff) | |
download | profani-tty-9815ef3b02dfc05ed2e2dbe40d017b91f4f4fa41.tar.gz |
Change libotr 4.0.0 code to use only OTR spec v2
-rw-r--r-- | src/otr/otrlibv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c index 80013af7..01afa868 100644 --- a/src/otr/otrlibv4.c +++ b/src/otr/otrlibv4.c @@ -29,13 +29,13 @@ OtrlPolicy otrlib_policy(void) { - return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2 | OTRL_POLICY_ALLOW_V3; + return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2; } char * otrlib_start_query(void) { - return "?OTR?v23?"; + return "?OTR?v2?"; } static const char* |