mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:05:11 +00:00
[MOD/WIP] Start getting into intents
This commit is contained in:
parent
31305cdb23
commit
de8fd53a6f
4 changed files with 43 additions and 40 deletions
26
src/Main.c
26
src/Main.c
|
|
@ -80,21 +80,19 @@ Main(Array *args, HashMap *env)
|
|||
ParseeExportConfigYAML(yaml);
|
||||
StreamClose(yaml);
|
||||
|
||||
Log(LOG_NOTICE, "Connecting to XMPP...");
|
||||
jabber = XMPPInitialiseCompStream(
|
||||
parsee_conf->component_host,
|
||||
parsee_conf->component_port
|
||||
);
|
||||
if (!XMPPAuthenticateCompStream(
|
||||
jabber,
|
||||
parsee_conf->shared_comp_secret
|
||||
))
|
||||
{
|
||||
Log(LOG_NOTICE, "Connecting to XMPP...");
|
||||
jabber = XMPPInitialiseCompStream(
|
||||
parsee_conf->component_host,
|
||||
parsee_conf->component_port
|
||||
);
|
||||
if (!XMPPAuthenticateCompStream(
|
||||
jabber,
|
||||
parsee_conf->shared_comp_secret
|
||||
))
|
||||
{
|
||||
Log(LOG_ERR, "Could not connect to XMPP...");
|
||||
XMPPEndCompStream(jabber);
|
||||
goto end;
|
||||
}
|
||||
Log(LOG_ERR, "Could not connect to XMPP...");
|
||||
XMPPEndCompStream(jabber);
|
||||
goto end;
|
||||
}
|
||||
|
||||
Log(LOG_NOTICE, "Creating volatile tables...");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue