summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/channels.c2
-rw-r--r--src/config.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index 9b8efc715..f5e99ffa9 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -685,9 +685,9 @@ void do_part(const char *source, int ac, char **av)
c->prev->next = c->next;
else
user->chans = c->next;
- free(c);
send_event(EVENT_PART_CHANNEL, 3, EVENT_STOP, user->nick,
c->chan->name);
+ free(c);
}
}
}
diff --git a/src/config.c b/src/config.c
index 2e735abe0..07c7f2995 100644
--- a/src/config.c
+++ b/src/config.c
@@ -858,7 +858,7 @@ int parse(char *buf, int linenum, int reload)
if (n == lenof(directives)) {
/* error(linenum, "Unknown directive `%s'", dir);
- return 1; *//* don't cause abort */
+ return 1; *//* don't cause abort */
}
return retval;