znc-bouncer's People
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
Lowercase channel names before writing meta data
In changebuffer, We can't trust the client to send the buffer name in the correct casing, so lowercase the buffer name before creating its hash for the data filename.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.