WIP fixing the nicklist
--HG-- branch : nmdc-ircfrontend
This commit is contained in:
parent
a17c816540
commit
bada029ce2
10
server.go
10
server.go
@ -211,13 +211,17 @@ func (s *Server) handleCommand(command string, args []string) {
|
||||
s.reply(rplWelcome)
|
||||
s.clientRegistered = true
|
||||
|
||||
// Tell the user that they themselves joined the chat channel
|
||||
s.reply(rplJoin, s.upstreamLauncher.Self.Nick, BLESSED_CHANNEL)
|
||||
|
||||
// Send (initially just us) nicklist for the chat channel
|
||||
s.reply(rplNames, BLESSED_CHANNEL, s.upstreamLauncher.Self.Nick)
|
||||
s.reply(rplEndOfNames, BLESSED_CHANNEL)
|
||||
|
||||
// Spawn upstream connection
|
||||
s.upstream = s.upstreamLauncher.Connect()
|
||||
go s.upstreamWorker()
|
||||
|
||||
// Tell the user that they themselves joined the chat channel
|
||||
s.reply(rplJoin, s.upstreamLauncher.Self.Nick, BLESSED_CHANNEL)
|
||||
|
||||
default:
|
||||
s.handleRegisteredCommand(command, args)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user