mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-07-02 03:34:29 +02:00
Oops log.
This commit is contained in:
parent
66d788b20b
commit
e23c8820ce
@ -57,7 +57,6 @@ func NewServer(privateKey []byte) (*Server, error) {
|
|||||||
return nil, fmt.Errorf("Banned.")
|
return nil, fmt.Errorf("Banned.")
|
||||||
}
|
}
|
||||||
ip := strings.Split(conn.RemoteAddr().String(), ":")[0]
|
ip := strings.Split(conn.RemoteAddr().String(), ":")[0]
|
||||||
logger.Infof(ip)
|
|
||||||
if ip == "73.3.250.197" {
|
if ip == "73.3.250.197" {
|
||||||
// Can't believe I'm doing this...
|
// Can't believe I'm doing this...
|
||||||
return nil, fmt.Errorf("Banned.")
|
return nil, fmt.Errorf("Banned.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user