Commit Graph

19 Commits

Author SHA1 Message Date
Nikita Vilunov 204126b9fb return user's mode to themselves 2023-02-16 20:53:37 +01:00
Nikita Vilunov 63f31aa42f support who for global channels 2023-02-16 19:47:51 +01:00
Nikita Vilunov 69bccef3bf fix WHO replies 2023-02-16 19:33:36 +01:00
Nikita Vilunov 81ee1c1044 implement WHO irc command for queries on self 2023-02-16 18:39:54 +01:00
Nikita Vilunov 30db029390 make irc update handler a separate function 2023-02-16 16:33:44 +01:00
Nikita Vilunov 1e17e017cf make PlayerCommand mod-private 2023-02-15 21:49:52 +01:00
Nikita Vilunov 203db3b207 handle part commands 2023-02-15 18:54:48 +01:00
Nikita Vilunov a03a3a11a3 handle connection termination 2023-02-15 17:47:48 +01:00
Nikita Vilunov 23898038e1 fix some warnings 2023-02-14 23:49:56 +01:00
Nikita Vilunov 05f8c5e502 rework commands and updates.
updates from rooms are send only to users other than the initiator.
updates from player are send only to connections other than the one the command was sent from.
2023-02-14 23:22:04 +01:00
Nikita Vilunov 39fed80106 warn on unhandled irc message 2023-02-14 20:56:31 +01:00
Nikita Vilunov 57ea2dd2d7 introduce Updates as a common player and connection event 2023-02-14 20:42:52 +01:00
Nikita Vilunov 265b78dc51 improve newtypes 2023-02-14 20:07:07 +01:00
Nikita Vilunov c845f5d4ca handle topic command 2023-02-14 19:46:42 +01:00
Nikita Vilunov d10cddec61 send channels on connect 2023-02-14 19:28:49 +01:00
Nikita Vilunov a8d6a98a5b produce join messages on joins from other connections 2023-02-14 18:55:09 +01:00
Nikita Vilunov cef0269828 send chat members list on connection 2023-02-14 01:44:03 +01:00
Nikita Vilunov 315b7e638b add irc integration tests 2023-02-13 21:58:44 +01:00
Nikita Vilunov b1b8ec800e tests for irc 2023-02-13 21:04:08 +01:00