git.samba.org
/
jelmer
/
ctrlproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b03f2b0
)
Simplify.
author
exg
<exg@tonatiuh>
Wed, 21 Mar 2007 23:20:07 +0000
(23:20 +0000)
committer
exg
<exg@tonatiuh>
Wed, 21 Mar 2007 23:20:07 +0000
(23:20 +0000)
mods/log_custom.c
patch
|
blob
|
history
diff --git
a/mods/log_custom.c
b/mods/log_custom.c
index 25f958743d6436756ab6e5746d6b8186b99cc1e2..204e042c1e4dfe01fbde0cc7f21a8e76c8b103aa 100644
(file)
--- a/
mods/log_custom.c
+++ b/
mods/log_custom.c
@@
-408,17
+408,14
@@
static void file_write_channel_query(struct log_custom_data *data, struct networ
struct network_nick *nn;
if (!l->origin) return;
- nick = line_get_nick(l);
g_assert(n);
fmt = g_key_file_get_string(data->kf, "log-custom", n, NULL);
- if(!fmt) {
- g_free(nick);
- return;
- }
+ if(!fmt) return;
/* check for the query first */
+ nick = line_get_nick(l);
f = find_add_channel_file(data, network, l, nick, FALSE);
if(f) {