Comments (6)
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.
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.
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.
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.
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.
Closing
from autumn.
Related Issues (20)
- before_filter and after_filter not firing up with irc_privmsg_event HOT 7
- How to remove color formating from incoming messages HOT 3
- Helper classes in lib folder are being loaded and included in controller HOT 5
- Username starting with _ (underscore) raises exception on command HOT 10
- Consider adding Ruby version requirement to README
- rake app:<command> causes error HOT 4
- Sending /MODE and /KICK commands and working with Services HOT 14
- Restricting Leaf to specific channel(s) via stems.yml HOT 3
- Bot bootstrapping HOT 7
- undefined_method when calling helper module method from controller HOT 11
- stem.sajoin and stem.sapart caused undefined method error HOT 2
- Tutorial: your first bot HOT 1
- Authentication::Op.authenticate HOT 1
- Stem.privilege returns wrong privilege level HOT 5
- Stem.whois result...returned where? HOT 1
- Autumn as rubygem
- Problem with synchronization
- Foliater::each_leaf doesn't work as expected
- establishing persistence issues with scorekeeper
- Insulter doesn't take name
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.
from autumn.