summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
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)
{