From 9c65ad17c7a86f9ddeb688b3eb6368b4d79ab85a Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 9 Mar 2006 00:18:28 +0000 Subject: Add 'you are a nub' messages to /squit and /connect stubs git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3570 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_connect.cpp | 1 + src/cmd_squit.cpp | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cmd_connect.cpp b/src/cmd_connect.cpp index 7c1d0b2f9..19ff6980d 100644 --- a/src/cmd_connect.cpp +++ b/src/cmd_connect.cpp @@ -36,6 +36,7 @@ using namespace std; */ void cmd_connect::Handle (char **parameters, int pcnt, userrec *user) { + WriteServ(user->fd, "NOTICE %s :You are a nub. Load a linking module.", user->nick); } diff --git a/src/cmd_squit.cpp b/src/cmd_squit.cpp index 2546614b5..8cf3c0d56 100644 --- a/src/cmd_squit.cpp +++ b/src/cmd_squit.cpp @@ -61,8 +61,10 @@ extern std::vector all_opers; extern std::vector local_users; extern userrec* fd_ref_table[MAX_DESCRIPTORS]; +/* + * This is handled by the server linking module, if necessary. Do not remove this stub. + */ void cmd_squit::Handle (char **parameters, int pcnt, userrec *user) { + WriteServ(user->fd, "NOTICE %s :You are a nub. Load a linking module.", user->nick); } - - -- cgit v1.2.3