From e466091fd02baffb9ddf66a93a70495302614b85 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 1 May 2004 21:53:38 +0000 Subject: Added stub to handle SERVER command git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@774 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/commands.cpp') 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) { -- cgit v1.2.3