soju forked to be LESS SHIT
791cf4b887
Many IRC clients use the query `WHOIS nick nick` rather than `WHOIS nick` when querying a nick. The former command means to specifically query the WHOIS on the server to which `nick` is connected, which is useful to get information that is sometimes not propagated between servers, such as idle time. In the case where a downstream sends WHOIS nick/network nick/network in multi-server mode, we need to unmarshal both fields. Previously, we did not unmarshal those fields, and upstreams would receive `WHOIS nick/network nick`, which is incorrect. This adds support for unmarshaling the target field if it is the same as the mask field, by simply using the unmarshaled nick that is already computed from the mask. |
||
---|---|---|
cmd | ||
config | ||
doc | ||
.build.yml | ||
.gitignore | ||
bridge.go | ||
conn.go | ||
db.go | ||
downstream.go | ||
go.mod | ||
go.sum | ||
irc.go | ||
LICENSE | ||
logger.go | ||
Makefile | ||
README.md | ||
ring.go | ||
server.go | ||
service.go | ||
upstream.go | ||
user.go |
soju
A user-friendly IRC bouncer.
- Multi-user
- Support multiple clients for a single user, with proper backlog synchronization
- Support connecting to multiple upstream servers via a single IRC connection to the bouncer
Usage
go run ./cmd/sojuctl create-user <username>
go run ./cmd/soju
Then connect with username <username>/chat.freenode.net
and join #soju
.
See the man page at doc/soju.1.scd
for more information.
Contributing
Send patches on the mailing list or on GitHub, report bugs on the issue tracker. Discuss in #soju on Freenode.
License
AGPLv3, see LICENSE.
Copyright (C) 2020 Simon Ser