- irc.c: made COMMAND_TABLE use const
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sat, 14 Mar 2015 18:51:18 +0000 (18:51 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sat, 14 Mar 2015 18:51:18 +0000 (18:51 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5690 82007160-df01-0410-b94d-b575c5fd34c7

src/irc.c

index 56e6f83214cad526aa84861b27786fe0cbbafdc6..9b0d73b469acde2d6e1bc563d41b45715cd95870 100644 (file)
--- 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     },