From 8e59e6b8f798ad10ce214bb8c87c6ff258dd2f36 Mon Sep 17 00:00:00 2001 From: michael Date: Sat, 14 Mar 2015 18:50:57 +0000 Subject: [PATCH] - irc.c: made COMMAND_TABLE use const git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5689 82007160-df01-0410-b94d-b575c5fd34c7 --- src/irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc.c b/src/irc.c index 56e6f83..9b0d73b 100644 --- a/src/irc.c +++ b/src/irc.c @@ -92,7 +92,7 @@ static time_t IRC_LASTRECONNECT = 0; /* Time of last reconnection */ * Table should be ordered with most occuring (or priority) * commands at the top of the list. */ -static struct CommandHash COMMAND_TABLE[] = +static const struct CommandHash COMMAND_TABLE[] = { { "NOTICE", m_notice }, { "PRIVMSG", m_privmsg }, -- 2.30.2