From: michael Date: Sat, 14 Mar 2015 18:50:57 +0000 (+0000) Subject: - irc.c: made COMMAND_TABLE use const X-Git-Tag: 1.0.4~12 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=8e59e6b8f798ad10ce214bb8c87c6ff258dd2f36;p=hopm.git - 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 --- 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 },