Created
May 25, 2017 23:24
-
-
Save RealKindOne/5c1b0dff9f122b4b9f0782de1a16a0c5 to your computer and use it in GitHub Desktop.
Testing autovoice module to accept multiple hostmasks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git head/master, unmodified. | |
/msg *autovoice listusers | |
<*autovoice> There are no users defined | |
/msg *autovoice adduser adam *[email protected] #adam | |
/msg *autovoice adduser Asdf [email protected] #asdf #asdf-123 | |
/msg *autovoice adduser bart *!*@1.1.1.1 #bart #fake | |
/msg *autovoice adduser everyone *!*@* # | |
/msg *autovoice adduser test *!*@2001:0000:0000:0000:0000:0000:0000:0000 #test #testing-123 | |
/msg *autovoice adduser znc-linker *!*@znc/bot/znc-linker #znc #znc-dev | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | User | Hostmask | Channels | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | [email protected] | #asdf #asdf-123 | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #fake | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
Shutdown znc, place modified autovoice.so in ~/.znc/modules. Start znc. | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | [email protected] | #asdf #asdf-123 | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #fake | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
/msg *autovoice addmasks Asdf *[email protected],*[email protected] | |
/msg *autovoice addmasks bart *!*@2.2.2.2 | |
/msg *autovoice addmasks bart *!*@3.3.3.3 | |
/msg *autovoice addmasks bart *!*@4.4.4.4 | |
/msg *autovoice listusers | |
<*autovoice> +------------+--------------------------------------------+--------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+--------------------------------------------+--------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #fake | | |
<*autovoice> | |- | *!*@2.2.2.2 | | | |
<*autovoice> | |- | *!*@3.3.3.3 | | | |
<*autovoice> | `- | *!*@4.4.4.4 | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+--------------------------------------------+--------------------+ | |
/msg *autovoice addchans bart #cake #food #test | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+-------------------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+---------------------------------------------+-------------------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #cake #fake #food #test | | |
<*autovoice> | |- | *!*@2.2.2.2 | | | |
<*autovoice> | |- | *!*@3.3.3.3 | | | |
<*autovoice> | `- | *!*@4.4.4.4 | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+---------------------------------------------+-------------------------------+ | |
/msg *autovoice delchans bart #test | |
/msg *autovoice delmasks bart *!*@3.3.3.3,*!*@4.4.4.4 | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #cake #fake #food | | |
<*autovoice> | `- | *!*@2.2.2.2 | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
/msg *status unloadmod autovoice | |
/msg *status loadmod autovoice | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | bart | *!*@1.1.1.1 | #bart #cake #fake #food | | |
<*autovoice> | `- | *!*@2.2.2.2 | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@znc/bot/znc-linker | #znc #znc-dev | | |
<*autovoice> +------------+---------------------------------------------+-------------------------+ | |
/msg *autovoice deluser bart | |
/msg *autovoice deluser znc-linker | |
/msg *autovoice listusers | |
<*autovoice> +----------+---------------------------------------------+--------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +----------+---------------------------------------------+--------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> +----------+---------------------------------------------+--------------------+ | |
/msg *autovoice adduser znc-linker *!*@wiki.znc.in,*!*@znc.in #znc #znc-dev | |
/msg *autovoice listusers | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | User | Hostmasks | Channels | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
<*autovoice> | adam | *[email protected] | #adam | | |
<*autovoice> | Asdf | *[email protected] | #asdf #asdf-123 | | |
<*autovoice> | |- | *[email protected] | | | |
<*autovoice> | `- | [email protected] | | | |
<*autovoice> | everyone | *!*@* | # | | |
<*autovoice> | test | *!*@2001:0000:0000:0000:0000:0000:0000:0000 | #test #testing-123 | | |
<*autovoice> | znc-linker | *!*@wiki.znc.in | #znc #znc-dev | | |
<*autovoice> | `- | *!*@znc.in | | | |
<*autovoice> +------------+---------------------------------------------+--------------------+ | |
--------------------------- | |
Joining after I am already in the channel: | |
* test (kindone@2001:0000:0000:0000:0000:0000:0000:0000) has joined #test | |
* KindOne sets mode: +v test | |
* test (kindone@2001:0000:0000:0000:0000:0000:0000:0000) has joined #testing-123 | |
* KindOne sets mode: +v test | |
* test (kindone@2001:0000:0000:0000:0000:0000:0000:0000) has joined # | |
* KindOne sets mode: +v test | |
* znc-linker ([email protected]) has joined #znc | |
* KindOne sets mode: +v znc-linker | |
* znc-linker ([email protected]) has joined #znc-dev | |
* KindOne sets mode: +v znc-linker | |
* znc-linker_ ([email protected]) has joined #znc | |
* KindOne sets mode: +v znc-linker_ | |
* znc-linker_ ([email protected]) has joined #znc-dev | |
* KindOne sets mode: +v znc-linker_ | |
--------------------------- | |
I join after they are in the channel: | |
* KindOne (kindone@vhost.) has joined #znc | |
* [Users #znc] | |
* [@ChanServ] [ KindOne] [ znc-linker] [ znc-linker_] | |
* Irssi: #znc: Total of 4 nicks [1 ops, 0 halfops, 0 voices, 3 normal] | |
/who #znc | |
/cs op #znc | |
* ChanServ sets mode: +o KindOne | |
* KindOne sets mode: +v znc-linker | |
* KindOne sets mode: +v znc-linker_ | |
* KindOne (kindone@vhost.) has joined # | |
* [Users #] | |
* [@ChanServ] [ KindOne] [ test] | |
* Irssi: #: Total of 3 nicks [1 ops, 0 halfops, 0 voices, 2 normal] | |
/who # | |
/cs op # | |
* ChanServ sets mode: +o KindOne | |
* KindOne sets mode: +v KindOne | |
* KindOne sets mode: +v test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment