summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 00:18:28 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 00:18:28 +0000
commit9c65ad17c7a86f9ddeb688b3eb6368b4d79ab85a (patch)
tree7cd101efd6b467d24a18db496d7a30993c1e65bf /src
parent945dda108992cdfc83cf714a89ded949357ce125 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/cmd_connect.cpp1
-rw-r--r--src/cmd_squit.cpp6
2 files changed, 5 insertions, 2 deletions
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<userrec*> all_opers;
extern std::vector<userrec*> 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);
}
-
-