Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: Borja on December 24, 2014, 12:49:20 PM

Title: Using anope with xmlrp and redis live DB
Post by: Borja on December 24, 2014, 12:49:20 PM
I'm using anope with "m_sql_authentication.cpp" module.


I have several questions.

1)

To create the user account on the anope database, I have to do the command "/msg nickserv identify password" on irc.

Is it possible to send that command by xmlrpc?

When sending this command by xmlrpc the account is not created.


2)

I have to insert a channel in anope.

Which option is better?

a) Insert directly on the bd of redis
b) use xmlrpc

3)

Is there any way to know if xmlrpc returns an error? Without having to parse the output string. Using a code or similar error.

thank you very much.

Title: Re: Using anope with xmlrp and redis live DB
Post by: Adam on December 24, 2014, 06:34:02 PM
You can execute commands directly to services over xmlrpc but there is no other way to get the result other than parse the output string.