Comments (1)
Sorry for the lack of response, life is getting in the way. I am reasonably sure that client.ParseLine will handle this case correctly already. The only thing that's missing, as you point out, is an ERROR constant so you're handling that instead of the string "ERROR". Otherwise, *Conn.Handle("ERROR", client.Handler) will DTRT and I think you should be able to take whatever action you want in that handler. Of course, sending messages to the server is probably not going to work out too well ;-)
from goirc.
Related Issues (20)
- Dispatch runLoop deadlock when removing a handler from within a handler HOT 2
- Can read messages but can't seem to send? HOT 1
- Remove dependency on x/net/proxy HOT 2
- NewNick handler needs a max length check HOT 6
- Client gets very confused when nickname is longer than NICKLEN HOT 3
- xdcc client HOT 3
- Invalid/expired certificate HOT 8
- Support IRCv3 capability negotiation during registration. HOT 8
- Support STARTTLS (and CAP tls requesting).
- Allow rate limiting code to be changed. HOT 2
- question only. HOT 1
- TestPing is unstable... HOT 7
- TLS issues not detected at connection time HOT 1
- Allow user to close connection if server doesn't close after to QUIT. HOT 4
- Can I handle event RECONNECT? HOT 2
- Stupid question (new to irc in general) HOT 2
- Conn:String method deadlock HOT 1
- disconnect event delay too much HOT 2
- call of reflect.Value.Type on zero Value HOT 1
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 goirc.