]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_names.cpp
Dunno why this method was static, doesnt need to be...
[user/henk/code/inspircd.git] / src / cmd_names.cpp
index 900ccb53cecf37ca55773b4249d093720217c2bf..fe61c4dea3f6c61aba99004adac1323e7b7ce4e9 100644 (file)
@@ -15,7 +15,7 @@
 #include "users.h"
 #include "commands/cmd_names.h"
 
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
 {
        return new cmd_names(Instance);
 }
@@ -44,7 +44,6 @@ CmdResult cmd_names::Handle (const char** parameters, int pcnt, userrec *user)
                      return CMD_FAILURE;
                }
                c->UserList(user);
-               user->WriteServ("366 %s %s :End of /NAMES list.", user->nick, c->name);
        }
        else
        {