X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/4ebf6862037bd6777e67d24cc2933a6aeb3b95e2..f8b60fb5fd7321e9522c9c7ef75723d86068ec8c:/doc/example.conf diff --git a/doc/example.conf b/doc/example.conf index cf2f9f2..7e338ae 100755 --- a/doc/example.conf +++ b/doc/example.conf @@ -30,7 +30,9 @@ 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"; #loadmodule "extensions/m_ojoin.so"; #loadmodule "extensions/m_omode.so"; @@ -206,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"; @@ -281,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.