Add m_webirc to "default" loaded extensions in .conf files and

add a WEBIRC auth {} block for it to show how its used so you
don't have to read the source of the extension to figure it out.
This commit is contained in:
JD Horelick 2010-03-07 17:13:46 -05:00
parent b6a3d80129
commit 82e5490f59
3 changed files with 40 additions and 1 deletions

View File

@ -30,6 +30,7 @@ loadmodule "extensions/ip_cloaking.so";
#loadmodule "extensions/m_findforwards.so"; #loadmodule "extensions/m_findforwards.so";
loadmodule "extensions/m_identify.so"; loadmodule "extensions/m_identify.so";
loadmodule "extensions/m_mkpasswd.so"; loadmodule "extensions/m_mkpasswd.so";
loadmodule "extensions/m_webirc.so";
#loadmodule "extensions/m_adminwall.so"; #loadmodule "extensions/m_adminwall.so";
#loadmodule "extensions/m_oaccept.so"; #loadmodule "extensions/m_oaccept.so";
#loadmodule "extensions/m_opme.so"; #loadmodule "extensions/m_opme.so";
@ -207,6 +208,24 @@ auth {
class = "opers"; class = "opers";
}; };
/* Example WEBIRC authblock */
auth {
/* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
user = "webirc@192.168.1.1";
/* password: password the webirc client sends in the WEBIRC command.
* You can use a encrypted password here (see above auth block).
*/
password = "<password>";
/* spoof: This is required to keep it what it is currently if you
* want the webirc client to show the users' real host as their
* host on IRC.
*/
spoof = "webirc.";
class = "users";
};
auth { auth {
user = "*@*"; user = "*@*";
class = "users"; class = "users";

View File

@ -65,6 +65,7 @@
* Find channel forwards -- m_findforwards.so * Find channel forwards -- m_findforwards.so
* /identify support -- m_identify.so * /identify support -- m_identify.so
* /mkpassword support -- m_mkpasswd.so * /mkpassword support -- m_mkpasswd.so
* WEBIRC support -- m_webirc.so
* Send message to all admins network-wide -- m_adminwall.so * Send message to all admins network-wide -- m_adminwall.so
* /oaccept - add to target's accept list, oper only -- m_oaccept.so * /oaccept - add to target's accept list, oper only -- m_oaccept.so
* /opme - op self in opless channels, admin only -- m_opme.so * /opme - op self in opless channels, admin only -- m_opme.so
@ -98,6 +99,7 @@ loadmodule "extensions/ip_cloaking.so";
#loadmodule "extensions/m_findforwards.so"; #loadmodule "extensions/m_findforwards.so";
loadmodule "extensions/m_identify.so"; loadmodule "extensions/m_identify.so";
loadmodule "extensions/m_mkpasswd.so"; loadmodule "extensions/m_mkpasswd.so";
loadmodule "extensions/m_webirc.so";
#loadmodule "extensions/m_adminwall.so"; #loadmodule "extensions/m_adminwall.so";
#loadmodule "extensions/m_oaccept.so"; #loadmodule "extensions/m_oaccept.so";
#loadmodule "extensions/m_opme.so"; #loadmodule "extensions/m_opme.so";
@ -376,6 +378,24 @@ auth {
class = "opers"; class = "opers";
}; };
/* Example WEBIRC authblock */
auth {
/* user: webirc@IP.OF.YOUR.WEBIRC . the webirc@ part is required */
user = "webirc@192.168.1.1";
/* password: password the webirc client sends in the WEBIRC command.
* You can use a encrypted password here (see above auth block).
*/
password = "<password>";
/* spoof: This is required to keep it what it is currently if you
* want the webirc client to show the users' real host as their
* host on IRC.
*/
spoof = "webirc.";
class = "users";
};
auth { auth {
/* redirect: the server and port to redirect a user to. A user does /* redirect: the server and port to redirect a user to. A user does
* not have to obey the redirection, the ircd just suggests to them * not have to obey the redirection, the ircd just suggests to them

View File

@ -27,7 +27,7 @@
* auth { * auth {
* user = "webirc@<cgiirc ip>"; # if identd used, put ident username instead * user = "webirc@<cgiirc ip>"; # if identd used, put ident username instead
* password = "<password>"; # encryption possible * password = "<password>"; # encryption possible
* spoof = "webirc." * spoof = "webirc.";
* class = "users"; * class = "users";
* }; * };
* Possible flags: * Possible flags: