diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/m_watch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_watch.c b/modules/m_watch.c index 32a8f5f..1c84613 100644 --- a/modules/m_watch.c +++ b/modules/m_watch.c @@ -187,8 +187,8 @@ m_watch(struct Client *client_p, struct Client *source_p, int parc, char *parv[] count = strlen(source_p->name) + strlen(me.name) + 10; } - strcat(buf, " "); - strcat(buf, anptr->nick); + strlcat(buf, " ", sizeof(buf)); + strlcat(buf, anptr->nick, sizeof(buf)); count += (strlen(anptr->nick) + 1); } |