mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
simple demonstration of chatroom integration of an outgoing socket
This commit is contained in:
parent
3371998372
commit
291bd308c2
3 changed files with 170 additions and 0 deletions
|
@ -177,6 +177,10 @@ inherit NET_PATH "place/intercept";
|
|||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef CONNECT_TELNET
|
||||
inherit NET_PATH "tn/outgoing";
|
||||
#endif
|
||||
|
||||
#ifdef FETCH_TEXTDB
|
||||
volatile object feed, tob;
|
||||
|
||||
|
@ -369,6 +373,9 @@ void create() {
|
|||
#ifdef CONNECT_IRC
|
||||
link(CONNECT_IRC);
|
||||
#endif
|
||||
#ifdef CONNECT_TELNET
|
||||
link(CONNECT_TELNET);
|
||||
#endif
|
||||
#if defined(NEWSFEED_RSS) && defined(DEVELOPMENT)
|
||||
// do not connect newsfeeds immediately if running in production mode
|
||||
connect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue