diff options
-rw-r--r-- | src/s_serv.c | 2 | ||||
-rw-r--r-- | src/s_user.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/s_serv.c b/src/s_serv.c index 7c6fa2e..97ee59b 100644 --- a/src/s_serv.c +++ b/src/s_serv.c @@ -570,7 +570,7 @@ send_capabilities(struct Client *client_p, int cap_can_send) void sendnick_TS(struct Client *client_p, struct Client *target_p) { - static char ubuf[12]; + char ubuf[66]; if (!IsClient(target_p)) return; diff --git a/src/s_user.c b/src/s_user.c index 30d54f9..7da24f8 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -563,7 +563,7 @@ static void introduce_client(struct Client *source_p) { dlink_node *server_node = NULL; - static char ubuf[12]; + char ubuf[66]; if (MyClient(source_p)) send_umode(source_p, source_p, 0, SEND_UMODES, ubuf); @@ -572,7 +572,7 @@ introduce_client(struct Client *source_p) watch_check_hash(source_p, RPL_LOGON); - if (*ubuf == '\0') + if (ubuf[0] == '\0') { ubuf[0] = '+'; ubuf[1] = '\0'; |