Giter VIP home page Giter VIP logo

Comments (6)

RISCfuture avatar RISCfuture commented on August 20, 2024

Trying to reproduce. I got an auth'd nick on QuakeNet and did the exact same thing...


Example (Stem): << :[email protected] PRIVMSG #stupidtest :!insult
Example (Stem): >> PRIVMSG #stupidtest :Type "!insult Ted" to crush Ted's spirit with a devastating insult.

Still looking into it...

from autumn.

RISCfuture avatar RISCfuture commented on August 20, 2024

Although you show your user portion as :[host], whereas mine is of the form :[nick]![user]@[host] -- any idea why that is? Or is that obfuscated by your "redacted"?

from autumn.

ThinIce avatar ThinIce commented on August 20, 2024

Ah. Yeah just took that out as force of habit really, the actual string is in the same format as yours, but does contain [ ] characters in the nick portion and also a \ in addition to the [ ] in the user portion, i.e

[tag]nick!~nick@[tag\i]nick.users.quakenet.org

My apologies for having an awkward nick and QN auth :) especially on a friday night. Having played about a little it does look like the [ and ] characters are causing a problem, not sure about the \

from autumn.

RISCfuture avatar RISCfuture commented on August 20, 2024

I suspect the issue is that the RFC specs for IRC state that a nick must begin with a letter, whereas yours begins with an open bracket. In your stems.yml file, try setting the nick_regex option for your stem to something that allows open brackets too.

See Autumn::Stem::NICK_REGEX for the default regex, and build off of that. Let me know how this works for you.

from autumn.

ThinIce avatar ThinIce commented on August 20, 2024

Thanks, huh all those gamers with RFC incompatible nicks :p My regexp isn't too hot however this seems to do the trick in my own case.

# The default regular expression for IRC nicknames. NICK_REGEX = "[a-zA-Z\[\]][a-zA-Z0-9\-_\[\]\{\}\\|`\^]+"

from autumn.

RISCfuture avatar RISCfuture commented on August 20, 2024

Closing

from autumn.

Related Issues (20)

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.