aboutsummaryrefslogtreecommitdiffstats
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorGravatar brain2004-05-01 21:53:38 +0000
committerGravatar brain2004-05-01 21:53:38 +0000
commite466091fd02baffb9ddf66a93a70495302614b85 (patch)
tree4ceb314e87b1fea8953636d0dc65f5b47181dc47 /src/commands.cpp
parentTidied the code to use Azhrarns new ConfigReader::ReadFlag method (diff)
downloadinspircd++-e466091fd02baffb9ddf66a93a70495302614b85.tar.gz
inspircd++-e466091fd02baffb9ddf66a93a70495302614b85.tar.bz2
inspircd++-e466091fd02baffb9ddf66a93a70495302614b85.zip
Added stub to handle SERVER command
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@774 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 7750ea1b6..5cfd96eec 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -635,6 +635,11 @@ void handle_notice(char **parameters, int pcnt, userrec *user)
}
}
+void handle_server(char **parameters, int pcnt, userrec *user)
+{
+ WriteServ(user->fd,"666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick);
+ WriteOpers("*** WARNING: %s attempted to issue a SERVER command and is registered as a user!",user->nick);
+}
void handle_info(char **parameters, int pcnt, userrec *user)
{