summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/m_stats.c2
-rw-r--r--modules/m_who.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/m_stats.c b/modules/m_stats.c
index 56336c3..b6e56bb 100644
--- a/modules/m_stats.c
+++ b/modules/m_stats.c
@@ -82,7 +82,7 @@ report_confitem_types(struct Client *source_p, enum maskitem_type type)
dlink_node *ptr = NULL;
struct MaskItem *conf = NULL;
const struct shared_flags *shared = NULL;
- char buf[12];
+ char buf[IRCD_BUFSIZE];
char *p = NULL;
switch (type)
diff --git a/modules/m_who.c b/modules/m_who.c
index 47c376e..961bb01 100644
--- a/modules/m_who.c
+++ b/modules/m_who.c
@@ -51,7 +51,7 @@ static void
do_who(struct Client *source_p, struct Client *target_p,
const char *chname, const char *op_flags)
{
- char status[8]; /* Gr*@%+\0 */
+ char status[IRCD_BUFSIZE];
if (HasUMode(source_p, UMODE_OPER))
snprintf(status, sizeof(status), "%c%s%s%s", target_p->away[0] ? 'G' : 'H',