Coder Social home page Coder Social logo

znc-bouncer's People

Contributors

prawnsalad avatar tyzoid avatar

Watchers

 avatar  avatar

znc-bouncer's Issues

changebuffer not finding the buffer

I had to modify the changebuffer variables to the following to get them reading correctly. Notice the Token indexes are different from current master branch.

        CString network_name = params.Token(0);
        CString buffer_name = params.Token(1);
        CString options = params.Token(2, true);
        std::cout << "##### net=" << network_name << " buffer=" << buffer_name << " options=" + options << "\n";

But even with these changes, it still reports that the buffer cannot be found when they do exist as listbuffers reports them.

[2018-03-27 08:50:01.178631] (darren/Network1) CLI -> ZNC [BOUNCER changebuffer Network1 #erferfe seen=2018-03-27T09:49:46.033+01:00]
##### net=Network1 buffer=#erferfe options=seen=2018-03-27T09:49:46.033+01:00
[2018-03-27 08:50:01.178767] (darren/Network1) ZNC -> CLI [@time=2018-03-27T08:50:01.178Z BOUNCER changebuffer Network1 #erferfe ERR_BUFFERNOTFOUND]

Params parsing is broken

        VCString parts;
        params.Split(";", parts);
        std::cout << "Processing changenetwork parts...\n";
        for (CString part : parts) {
                CString key = part.Token(0, false, "=");
                CString val = part.Token(1, false, "=");
                std::cout << "\nkey=" << key << " val=" << val << "\n";
[2018-03-27 07:00:08.826107] (darren) CLI -> ZNC [BOUNCER changenetwork Network1 host=irc.freenode.net9;port=99]
Processing changenetwork parts...

key=Network1 host val=irc.freenode.net9

key=port val=99

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.