From: michael Date: Sat, 14 Mar 2015 18:51:18 +0000 (+0000) Subject: - irc.c: made COMMAND_TABLE use const X-Git-Tag: 1.1.0beta1~128 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=7c857e8b7d06a9657474838b1129a01c043ac87a;p=hopm.git - irc.c: made COMMAND_TABLE use const git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5690 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 },