Daniel Oaks
46c98c2cf5
Fix CHANSERV OP
пре 6 година
Daniel Oaks
a67dfe37ca
Add CHANSERV OP (thanks benharri for making the request!)
пре 6 година
Shivaram Lingamneni
36018174b0
default fakelag to off, add explicit cooldown config
пре 6 година
Shivaram Lingamneni
1bf5e2a7c8
implement fakelag (#189)
пре 6 година
Shivaram Lingamneni
a8b952da77
store maxSendQBytes in a uint32 to avoid alignment problems
The sync.atomic documentation says:
"On both ARM and x86-32, it is the caller's responsibility to arrange
for 64-bit alignment of 64-bit words accessed atomically."
пре 6 година
Shivaram Lingamneni
2885b37768
partial fix for #217
See discussion on issue; this might not be a complete fix but it's
definitely better than the current behavior.
пре 6 година
Shivaram Lingamneni
d1f5c59eef
fix #190
пре 6 година
Shivaram Lingamneni
8fd1446627
tweak: clean up Socket.Close()
пре 6 година
Shivaram Lingamneni
0a432c9d99
do an actual nonblocking send instead of the len() trick
пре 6 година
Shivaram Lingamneni
fa5d4be718
refactor irc.Socket
пре 6 година
Shivaram Lingamneni
f5f6b95662
fix #214
пре 6 година
Shivaram Lingamneni
b8f37e4e6c
fix bad interaction between nickTimer.Stop() and accounts.Logout()
Sequence of events:
1. client.nickTimer.Stop()
2. client.server.accounts.Logout(client)
3. accounts sees that client is no longer logged in, does client.nickTimer.Touch()
4. 30 seconds later, RandomlyRename resurrects the zombie client
пре 6 година
Shivaram Lingamneni
fd34c78d6b
add sadrop command
пре 6 година
Shivaram Lingamneni
211ed6af99
add an option to expose a pprof http endpoint
пре 6 година
Shivaram Lingamneni
679f25491c
can't reserve a nick that's the name of an unverified account
пре 6 година
Shivaram Lingamneni
47b9fe50be
can't register an account with the same name as a registered nick
пре 6 година
Shivaram Lingamneni
a022befffe
nickserv: implement GHOST, GROUP, DROP, and INFO
пре 6 година
Shivaram Lingamneni
ef99bc48d1
fix #204
Empty channels were only cleaned up on PART, not QUIT.
пре 6 година
Shivaram Lingamneni
945dec9964
ensure the nick timeout mechanism is cleaned up on client quit
пре 6 година
Shivaram Lingamneni
a5897baa2b
clean up redundant error handling
пре 6 година
Shivaram Lingamneni
784a3bbf52
Don't send error messages for bad channels in NAMES
"There is no error reply for bad channel names."
<https://tools.ietf.org/html/rfc2812#section-3.2.5 >
пре 6 година
Shivaram Lingamneni
54123ef9a2
clear failed nick assignments to avoid confusion
пре 6 година
Shivaram Lingamneni
62581962a6
fix confusing ips-per-subnet name
пре 6 година
Shivaram Lingamneni
be86684e96
implement #199
пре 6 година
Shivaram Lingamneni
878f9ca94c
fix: store the uncasefolded account name correctly
пре 6 година
Shivaram Lingamneni
df41f9b3b0
don't send ACC numerics in response to NickServ commands
пре 6 година
Shivaram Lingamneni
89ae261739
implement mailto callbacks
пре 6 година
Shivaram Lingamneni
02161184cf
clean up stopEvent (requires go v1.10)
пре 6 година
Shivaram Lingamneni
5b636371a9
fix SASL enable-disable logic
пре 6 година
Shivaram Lingamneni
ced3a17cd3
fix #192
пре 6 година
Shivaram Lingamneni
988cb22692
changes to nick reservation
* Clients are now renamed, not disconnected, on reservation timeout
* Nick reservation config is now its own subsection
пре 6 година
Shivaram Lingamneni
73391f11a6
replace ACC UNREGISTER with nickserv unregister
пре 6 година
Shivaram Lingamneni
af256fccd3
remove redundant oper check from DEBUG
пре 6 година
Shivaram Lingamneni
b139386391
fix account tags
пре 6 година
Shivaram Lingamneni
ad73d68807
refactor account registration, add nick enforcement
пре 6 година
Daniel Oaks
a70cc6713c
(hopefully) fix labeled-response behaviour
пре 6 година
Daniel Oaks
e0fa97d344
Get labeled-reply working just fine
пре 6 година
Daniel Oaks
470109461b
responsebuffer: Handle sending early properly
пре 6 година
Daniel Oaks
3561046bec
Make ERR_CANNOT_RESUME use RPL_NONE numeric
пре 6 година
Daniel Oaks
ca6a162696
handlers: Make sure all functions have appropriate comments
пре 6 година
Daniel Oaks
52e3dde77a
Move mkcerts package under lib/
пре 6 година
Daniel Oaks
2419f69879
Move all errors into errors.go
пре 6 година
Daniel Oaks
3ef4c5f799
Split NS/CS commands into separate functions
пре 6 година
Daniel Oaks
2ecec25d28
Misc refactoring
пре 6 година
Daniel Oaks
d854bac78e
Fix broken modes tests
пре 6 година
Daniel Oaks
3634d0601e
Split modes into a subpackage (this is painful, but will force us to simplify and improve the API for interacting with modes)
пре 6 година
Daniel Oaks
9f71d9ce12
Add right copyright to handlers.go
пре 6 година
Daniel Oaks
afd6ca610c
Split language into a subpackage
пре 6 година
Daniel Oaks
1b14230758
...fix info string, how did that get messed up?
пре 6 година
Daniel Oaks
47d2ce351c
Centralise all command handlers in handlers.go
пре 6 година