3
0
mirror of https://github.com/ergochat/ergo.git synced 2025-02-16 21:50:39 +01:00
Shivaram Lingamneni d0ded906d4 fix a fairly bad bug where nicks could get out of sync
during nick change, removeInternal(client) was being called even before checking
whether the new nick was in use or reserved. Reproduction steps:

1. Log in a client 'alice'
2. Log in a client 'bob'
3. bob issues /nick alice, which fails (correctly) with:
:oragono.test 433 bob alice :Nickname is already in use
4. alice issues /msg bob hi, which fails (incorrectly) with:
:oragono.test 401 alice bob :No such nick
2019-01-02 10:15:59 -05:00
..
2018-12-28 13:45:55 -05:00
2018-12-30 18:17:24 -05:00
2018-02-04 05:34:26 +10:00
2018-04-16 13:20:37 +10:00
2018-12-28 13:45:55 -05:00
2019-01-02 09:55:45 -05:00
2018-08-06 10:08:58 -04:00
2019-01-02 10:15:59 -05:00
2019-01-02 10:15:59 -05:00
2018-10-15 12:18:23 +10:00
2018-02-03 22:03:36 +10:00
2018-04-16 04:32:57 -04:00
2018-04-16 04:32:57 -04:00
2018-09-03 00:38:32 -04:00
2018-12-28 11:07:08 -05:00
2018-12-28 13:45:55 -05:00
2019-01-02 10:15:59 -05:00
2018-12-28 13:45:55 -05:00
2018-04-22 19:36:15 -04:00
2018-11-28 00:24:44 -05:00
2018-12-06 06:46:11 -05:00
2018-12-05 22:39:01 -05:00