diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-01 21:53:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-05-01 21:53:38 +0000 |
commit | e466091fd02baffb9ddf66a93a70495302614b85 (patch) | |
tree | 4ceb314e87b1fea8953636d0dc65f5b47181dc47 /src/commands.cpp | |
parent | fb5b2a985e91ffb9ab49b30b74f20778ddabe1a9 (diff) |
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.cpp | 5 |
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) { |