Fix crash
parent
aa54f36242
commit
f3a6400620
|
@ -28,6 +28,10 @@ type seenRecord struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func seenrecord(output chan irc.Message, msg irc.Message) {
|
func seenrecord(output chan irc.Message, msg irc.Message) {
|
||||||
|
if msg.Params == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
v := seenRecord{
|
v := seenRecord{
|
||||||
Network: msg.Context["Network"],
|
Network: msg.Context["Network"],
|
||||||
Target: msg.Params[0],
|
Target: msg.Params[0],
|
||||||
|
|
Loading…
Reference in New Issue