From 2c84934ab822ed2162f99dacfd5a51afce913094 Mon Sep 17 00:00:00 2001 From: "." <.@.> Date: Sat, 7 May 2016 12:59:34 +1200 Subject: [PATCH] TODO --HG-- branch : nmdc-ircfrontend --- TODO.txt | 44 ++++++++++++++++++++++++++++++++++++++++++++ server.go | 4 ++++ 2 files changed, 48 insertions(+) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..74d9e60 --- /dev/null +++ b/TODO.txt @@ -0,0 +1,44 @@ + +PRE-RELEASE +=========== + +- nick list + +- expose unprefixed system messages in chat channel + +- part all nicks on server disconnection + + +WISHLIST +======== + +- client version sync (CTCP VERSION) + +- client descriptions (CTCP USERINFO) + +- support changing nick (via reconnecting) + +- expose upstream op status + +- support WHO, WHOIS, USERIP/KILL/KICK (if opped) + +- use CTCP chat to support irc-special characters in chat messages (colon, newline) + + + + +REF +=== + +http://www.anta.net/misc/telnet-troubleshooting/irc.shtml + +https://tools.ietf.org/html/rfc2812 + +http://www.irchelp.org/irchelp/rfc/ctcpspec.html + +https://en.wikipedia.org/wiki/List_of_Internet_Relay_Chat_commands + +https://en.wikipedia.org/wiki/Client-to-client_protocol + +https://wiki.mibbit.com/index.php/Ctcp_(version) + diff --git a/server.go b/server.go index 6b538f1..11d6a5b 100644 --- a/server.go +++ b/server.go @@ -227,6 +227,10 @@ func (s *Server) handleCommand(command string, args []string) { s.upstream = s.upstreamLauncher.Connect() go s.upstreamWorker() + // Send a CTCP VERSION request to the client. If the IRC client can + // supply a client version string, we can replace our tag with it, + // but that's optional + default: s.handleRegisteredCommand(command, args) }