summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/event.c5
-rw-r--r--src/hook.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/src/event.c b/src/event.c
index c036c8d..c678d63 100644
--- a/src/event.c
+++ b/src/event.c
@@ -258,6 +258,7 @@ show_events(struct Client *source_p)
me.name, RPL_STATSDEBUG, source_p->name);
for (i = 0; i < MAX_EVENTS; i++)
+ {
if (event_table[i].active)
{
sendto_one(source_p, ":%s %d %s : %-28s %-4d seconds",
@@ -265,9 +266,7 @@ show_events(struct Client *source_p)
event_table[i].name,
(int)(event_table[i].when - CurrentTime));
}
-
- sendto_one(source_p, ":%s %d %s : ",
- me.name, RPL_STATSDEBUG, source_p->name);
+ }
}
/*
diff --git a/src/hook.c b/src/hook.c
index f20a9d9..f4bfec6 100644
--- a/src/hook.c
+++ b/src/hook.c
@@ -212,7 +212,4 @@ stats_hooks(struct Client *source_p)
RPL_STATSDEBUG, source_p->name, cb->name, lastused, cb->called,
dlink_list_length(&cb->chain));
}
-
- sendto_one(source_p, ":%s %d %s : ", me.name, RPL_STATSDEBUG,
- source_p->name);
}