1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

onions and opportunistic ircs

This commit is contained in:
psyc://psyced.org/~lynX 2015-01-30 17:46:41 +01:00
parent b8506361f6
commit 66626510e8
5 changed files with 23 additions and 5 deletions

View file

@ -2056,6 +2056,10 @@ showStatus(verbosity, al, person, mc, data, vars) {
([ "_identification": identification,
#ifdef IRC_PATH
"_identification_alias":
# ifdef ONION_HOST
"http://"+ ONION_HOST +"/"+ pathName() +" "+
"irc://"+ ONION_HOST +"/"+ MYNICK +" "+
# endif
# if HAS_PORT(HTTP_PORT, HTTP_PATH) || HAS_PORT(HTTPS_PORT, HTTP_PATH)
# ifdef PRO_PATH
((tls_available() && HTTPS_URL) || HTTP_URL)
@ -2075,7 +2079,12 @@ showStatus(verbosity, al, person, mc, data, vars) {
"xmpp:*"+ MYLOWERNICK +"@"+ SERVER_HOST +" "+
# endif
# endif
"irc://"+ SERVER_HOST +"/"+ MYNICK,
# ifdef __TLS__
"ircs://"
# else
"irc://"
# endif
+ SERVER_HOST +"/"+ MYNICK,
#endif
#ifdef JABBER_PATH
"_identification_scheme_XMPP":