Browse Source

removed Unknown connections

tags/v0.6.0
vegax87 7 years ago
parent
commit
750f0ffcb6
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      irc/server.go

+ 1
- 2
irc/server.go View File

@@ -1680,7 +1680,7 @@ func whowasHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
1680 1680
 
1681 1681
 // LUSERS [ <mask> [ <target> ] ]
1682 1682
 func lusersHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
1683
-	//TODO(vegax87) Fix Unknown connections,network statistics and additional parameters
1683
+	//TODO(vegax87) Fix network statistics and additional parameters
1684 1684
 	var totalcount int
1685 1685
 	var invisiblecount int
1686 1686
 	var opercount int
@@ -1705,7 +1705,6 @@ func lusersHandler(server *Server, client *Client, msg ircmsg.IrcMessage) bool {
1705 1705
 	}
1706 1706
 	client.Send(nil, server.name, RPL_LUSERCLIENT, client.nick, fmt.Sprintf("There are %d users and %d invisible on %d server(s)", totalcount, invisiblecount, 1))
1707 1707
 	client.Send(nil, server.name, RPL_LUSEROP, client.nick, fmt.Sprintf("%d operators online", opercount))
1708
-	client.Send(nil, server.name, RPL_LUSERUNKNOWN, client.nick, "X unknown connection(s)") //placeholder
1709 1708
 	client.Send(nil, server.name, RPL_LUSERCHANNELS, client.nick, fmt.Sprintf("%d channels formed", chancount))
1710 1709
 	client.Send(nil, server.name, RPL_LUSERME, client.nick, fmt.Sprintf("I have %d clients and %d servers", totalcount, 1))
1711 1710
 	return false

Loading…
Cancel
Save