summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_testcommand.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index f3dcaec2d..ad7afbc97 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -27,6 +27,9 @@ void handle_woot(char **parameters, int pcnt, userrec *user)
// Here is a sample of how to send servermodes. Note that unless remote
// servers in your net are u:lined, they may reverse this, but its a
// quick and effective modehack.
+
+ // NOTE: DO NOT CODE LIKE THIS!!! This has no checks and can send
+ // invalid or plain confusing mode changes, code some checking!
char* modes[3];
modes[0] = "#chatspike";
modes[1] = "+o";