1.9 KiB
layout | title |
---|---|
page | Spectrum 2 |
Description
LibCommuni backend is IRC backend which uses Communi IRC library. It's specialized IRC backend and it should replace libpurple IRC support.
Configuration
You have to choose this backend in Spectrum 2 configuration file to use it:
[service]
backend=/usr/bin/spectrum2_libcommuni_backend
LibCommuni backend can then work in two modes.
One transport per one IRC network
This is preferred way if you know that you or your users will need to connect just one IRC network. It's also good mode of you maintain IRC server and want to provide XMPP access to it.
In this mode users can:
- connect the IRC network without joining the IRC channel.
- identify to NickServ (or any other service like that) using username and password from transport registration.
- have IRC contacts in their rosters. (Not done yet, but it's planned)
- see channel list in the service discovery. (Not done yet, but it's planned)
To use this mode, you have to configure irc_server variable like this:
[service]
irc_server=irc.freenode.org
One transport for more IRC networks
In this mode users can connect more IRC networks, but they can't connect the network without being in the room. To connect the network, user has to join the room in following format: #room%irc.freenode.org@irc.domain.tld. The nickname used in the first join request is used as a nickname for the IRC connection.
All configuration variables
Key | Type | Default | Description |
---|---|---|---|
irc_server | string | IRC server hostname for "One transport per one IRC network" mode. | |
irc_identify | string | NickServ identify $name $password | The fiirst word is nickname of service used for identifying. After the nickname there's a message sent to that service. $name is replaced by the username defined by user in the registration. $password is replaced by password. |