]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_connect.cpp
Add duplicate UID error in ParseUID(), seems pippijn was triggering it and it was...
[user/henk/code/inspircd.git] / src / cmd_connect.cpp
index ac62b0bd13ec388776712d54f4820d4a47691341..0f1e106951db7a9abfa3821ac213f7fb9a1c802a 100644 (file)
  * ---------------------------------------------------
  */
 
-#include "users.h"
+#include "inspircd.h"
 #include "commands/cmd_connect.h"
 
 /*
  * This is handled by the server linking module, if necessary. Do not remove this stub.
  */
 
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
 {
        return new cmd_connect(Instance);
 }
@@ -27,6 +27,6 @@ extern "C" command_t* init_command(InspIRCd* Instance)
  */
 CmdResult cmd_connect::Handle (const char** parameters, int pcnt, userrec *user)
 {
-       user->WriteServ( "NOTICE %s :You are a nub. Load a linking module.", user->nick);
+       user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick);
        return CMD_SUCCESS;
 }