From 9b42989e38a7602b206dacb0cfa88d21e365c7a1 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 14 Apr 2014 18:37:19 +0000 Subject: - Made server_estab() and sendnick_TS() use 'static' keyword git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@3307 82007160-df01-0410-b94d-b575c5fd34c7 --- modules/core/m_server.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'modules') diff --git a/modules/core/m_server.c b/modules/core/m_server.c index 925ac51..f1851b8 100644 --- a/modules/core/m_server.c +++ b/modules/core/m_server.c @@ -51,10 +51,10 @@ * output - NONE * side effects - NICK message is sent towards given client_p */ -void +static void sendnick_TS(struct Client *client_p, struct Client *target_p) { - char ubuf[IRCD_BUFSIZE]; + char ubuf[IRCD_BUFSIZE] = ""; if (!IsClient(target_p)) return; @@ -111,7 +111,6 @@ sendnick_TS(struct Client *client_p, struct Client *target_p) if (target_p->away[0]) sendto_one(client_p, ":%s AWAY :%s", ID_or_name(target_p, client_p), target_p->away); - } /* @@ -252,7 +251,7 @@ server_burst(struct Client *client_p) * output - * side effects - */ -void +static void server_estab(struct Client *client_p) { struct Client *target_p; -- cgit