Fix crash

configurable-file-paths
Robert Gerus 2015-11-22 11:42:20 +01:00
parent aa54f36242
commit f3a6400620
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ type seenRecord struct {
}
func seenrecord(output chan irc.Message, msg irc.Message) {
if msg.Params == nil {
return
}
v := seenRecord{
Network: msg.Context["Network"],
Target: msg.Params[0],