aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands/cmd_modules.cpp
diff options
context:
space:
mode:
authorGravatar brain2008-02-13 18:22:19 +0000
committerGravatar brain2008-02-13 18:22:19 +0000
commitbfaf7e3b27981a5144faba6d17c6e29fac735dbb (patch)
treebdec845abe8e5fcf617657f1e2473aed1a8fdec6 /src/commands/cmd_modules.cpp
parentThis doesn't need to be inside the loop. There is only one IP for (potentiall... (diff)
downloadinspircd++-bfaf7e3b27981a5144faba6d17c6e29fac735dbb.tar.gz
inspircd++-bfaf7e3b27981a5144faba6d17c6e29fac735dbb.tar.bz2
inspircd++-bfaf7e3b27981a5144faba6d17c6e29fac735dbb.zip
Commit patch from danieldg that makes a ton of stuff const-safe for latest warn-happy trigger-happy gcc4 (thanks)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8922 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_modules.cpp')
-rw-r--r--src/commands/cmd_modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_modules.cpp b/src/commands/cmd_modules.cpp
index 2ba91b867..7649dbc91 100644
--- a/src/commands/cmd_modules.cpp
+++ b/src/commands/cmd_modules.cpp
@@ -15,7 +15,7 @@
#include "wildcard.h"
#include "commands/cmd_modules.h"
-char* itab[] = {
+const char* itab[] = {
"OnUserConnect", "OnUserQuit", "OnUserDisconnect", "OnUserJoin", "OnUserPart", "OnRehash", "OnServerRaw",
"OnUserPreJoin", "OnUserPreKick", "OnUserKick", "OnOper", "OnInfo", "OnWhois", "OnUserPreInvite",
"OnUserInvite", "OnUserPreMessage", "OnUserPreNotice", "OnUserPreNick", "OnUserMessage", "OnUserNotice", "OnMode",