diff options
Diffstat (limited to 'src/watch.c')
-rw-r--r-- | src/watch.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/watch.c b/src/watch.c index ecc9268..2384849 100644 --- a/src/watch.c +++ b/src/watch.c @@ -82,7 +82,7 @@ watch_count_memory(unsigned int *const count, uint64_t *const memory) * \param reply numeric to send. Either RPL_LOGON or RPL_LOGOFF */ void -watch_check_hash(struct Client *client_p, const char *reply) +watch_check_hash(struct Client *client_p, int reply) { struct Watch *anptr = NULL; dlink_node *ptr = NULL; @@ -97,8 +97,8 @@ watch_check_hash(struct Client *client_p, const char *reply) DLINK_FOREACH(ptr, anptr->watched_by.head) { struct Client *target_p = ptr->data; -/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX */ - sendto_one(target_p, reply, + + sendto_one(target_p, form_str(reply), me.name, target_p->name, client_p->name, client_p->username, client_p->host, anptr->lasttime, client_p->info); |