mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-04 09:19:29 +02:00
should resolve #46
This commit is contained in:
parent
19466b5625
commit
362cf6c254
8 changed files with 39 additions and 24 deletions
|
@ -42,9 +42,9 @@ func (session *Session) Connected() bool {
|
|||
return session.connected
|
||||
}
|
||||
|
||||
func (session *Session) Address() *string {
|
||||
func (session *Session) Address() string {
|
||||
if session.socket == nil {
|
||||
return nil
|
||||
return ""
|
||||
}
|
||||
return session.socket.Address()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue