feat: implement Tier 3 utility IRC commands (USERHOST, VERSION, ADMIN, INFO, TIME, KILL, WALLOPS) (closes #87) #96
@@ -1350,14 +1350,14 @@ func (c *Conn) handleUserhost(
|
||||
func (c *Conn) handleVersion() {
|
||||
c.sendNumeric(
|
||||
irc.RplVersion,
|
||||
c.svc.ServerVersion()+".", c.cfg.ServerName,
|
||||
c.svc.ServerVersion()+".", c.serverSfx,
|
||||
"",
|
||||
)
|
||||
}
|
||||
|
||||
// handleAdmin replies with server admin info.
|
||||
func (c *Conn) handleAdmin() {
|
||||
srvName := c.cfg.ServerName
|
||||
srvName := c.serverSfx
|
||||
|
||||
c.sendNumeric(
|
||||
irc.RplAdminMe,
|
||||
@@ -1394,7 +1394,7 @@ func (c *Conn) handleInfo() {
|
||||
|
||||
// handleTime replies with the server's current time.
|
||||
func (c *Conn) handleTime() {
|
||||
srvName := c.cfg.ServerName
|
||||
srvName := c.serverSfx
|
||||
|
||||
c.sendNumeric(
|
||||
irc.RplTime,
|
||||
|
||||
Reference in New Issue
Block a user