X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/1fbf6db6629fd4b6d66ebf09b654572559432a7e..f8b60fb5fd7321e9522c9c7ef75723d86068ec8c:/doc/example.conf diff --git a/doc/example.conf b/doc/example.conf index 4e58f9e..7e338ae 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -30,6 +30,7 @@ loadmodule "extensions/ip_cloaking.so"; #loadmodule "extensions/m_findforwards.so"; loadmodule "extensions/m_identify.so"; loadmodule "extensions/m_mkpasswd.so"; +loadmodule "extensions/m_webirc.so"; #loadmodule "extensions/m_adminwall.so"; #loadmodule "extensions/m_oaccept.so"; #loadmodule "extensions/m_opme.so"; @@ -207,6 +208,24 @@ auth { 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 = ""; + + /* 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 { user = "*@*"; class = "users"; @@ -282,13 +301,13 @@ operator "god" { /* swhois: defines an additional line that will be displayed * whenever someone does /whois on the oper in question. */ - swhois = "is wearing pants." + swhois = "is wearing pants."; /* operstring: defines a custom operstring for this oper, * which will be shown in whois instead of default_operstring * or default_adminstring. */ - operstring = "is a lazy IRC Operator" + operstring = "is a lazy IRC Operator"; /* flags: misc options for the operator. You may prefix an option * with ~ to disable it, e.g. ~encrypted.