mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
style: fix typo (#183)
This commit is contained in:
parent
0238b2382b
commit
dff336b05a
@ -26,7 +26,7 @@ func (t *TCPListener) PlannedDisconnect(f func(*TCPListener)) {
|
|||||||
t.plannedDisconnect = f
|
t.plannedDisconnect = f
|
||||||
}
|
}
|
||||||
|
|
||||||
// UnexpectedDisconnect 未预料钟的断开连接
|
// UnexpectedDisconnect 未预料的断开连接
|
||||||
func (t *TCPListener) UnexpectedDisconnect(f func(*TCPListener, error)) {
|
func (t *TCPListener) UnexpectedDisconnect(f func(*TCPListener, error)) {
|
||||||
t.lock.Lock()
|
t.lock.Lock()
|
||||||
defer t.lock.Unlock()
|
defer t.lock.Unlock()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user