Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Using anope with xmlrp and redis live DB  (Read 3732 times)

0 Members and 1 Guest are viewing this topic.

Borja

  • Anope User
  • Offline Offline
  • Posts: 17
Using anope with xmlrp and redis live DB
« 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.

Logged

Adam

  • Team
  • *
  • Offline Offline
  • Posts: 463
Re: Using anope with xmlrp and redis live DB
« Reply #1 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.
Logged
Pages: [1]   Go Up