]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_setname.cpp
Move Blocking/NonBlocking to socket.cpp and make inline
[user/henk/code/inspircd.git] / src / modules / m_setname.cpp
index b82f6de14a423e4c83228f2f59a6ca34ac06fd35..72d255be7ea45654236cb28723d06afbf4563ba2 100644 (file)
@@ -33,9 +33,10 @@ class cmd_setname : public command_t
        cmd_setname () : command_t("SETNAME", 0, 1)
        {
                this->source = "m_setname.so";
+               syntax = "<new-gecos>";
        }
 
-       void Handle (char **parameters, int pcnt, userrec *user)
+       void Handle (const char** parameters, int pcnt, userrec *user)
        {
                std::string line = "";
                for (int i = 0; i < pcnt-1; i++)