fix broker out painc
This commit is contained in:
1 parent
0ff20b6ee2
commit
47500910e1
1 file changed
+1
-1
+1
-1
@@ -527,7 +527,7 @@ func (c *client) Close() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *client) WriterPacket(packet packets.ControlPacket) error {
|
func (c *client) WriterPacket(packet packets.ControlPacket) error {
|
||||||
if packet == nil {
|
if c == nil || packet == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user