mirror of https://github.com/nealey/irc-bot
List deleted factoids
This commit is contained in:
parent
aaa94730fd
commit
6cd618c849
|
@ -213,6 +213,7 @@ del(char *filename, char *key, char *glob)
|
|||
(0 == memcmp(k, key, klen)) &&
|
||||
(0 == fnmatch(glob, v, 0))) {
|
||||
// Skip if it matches
|
||||
printf("-%.*s\n", vlen, v);
|
||||
} else {
|
||||
cdbmake_add(&outc, k, klen, v, vlen);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue