]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_info.cpp
m_spanningtree Rewrite /map
[user/henk/code/inspircd.git] / src / commands / cmd_info.cpp
index 63debd3fe781b361efef857bd686d312cfa28880..7ee1c4d3b8d48cd74b2a3c743757177a244e1222 100644 (file)
@@ -32,7 +32,12 @@ class CommandInfo : public Command
  public:
        /** Constructor for info.
         */
-       CommandInfo ( Module* parent) : Command(parent,"INFO") { syntax = "[<servermask>]"; }
+       CommandInfo(Module* parent) : Command(parent,"INFO")
+       {
+               Penalty = 4;
+               syntax = "[<servername>]";
+       }
+
        /** Handle command.
         * @param parameters The parameters to the comamnd
         * @param pcnt The number of parameters passed to teh command
@@ -64,26 +69,27 @@ static const char* const lines[] = {
        "    Matt Smith,             dz,         <dz@inspircd.org>",
        "    Daniel De Graaf,        danieldg,   <danieldg@inspircd.org>",
        "                            jackmcbarn, <jackmcbarn@inspircd.org>",
+       "    Attila Molnar,          Attila,     <attilamolnar@hush.com>",
        " ",
        "\2Regular Contributors\2:",
-       "    Majic          MacGyver        Namegduf       Ankit",
-       "    Phoenix        Taros",
+       "    Adam           SaberUK",
        " ",
        "\2Other Contributors\2:",
+       "    ChrisTX        Shawn           Shutter",
+       " ",
+       "\2Former Contributors\2:",
        "   dmb             Zaba            skenmy         GreenReaper",
        "   Dan             Jason           satmd          owine",
        "   Adremelech      John2           jilles         HiroP",
        "   eggy            Bricker         AnMaster       djGrrr",
        "   nenolod         Quension        praetorian     pippijn",
-       "   Adam",
-       " ",
-       "\2Former Contributors\2:",
        "   CC              jamie           typobox43      Burlex (win32)",
        "   Stskeeps        ThaPrince       BuildSmart     Thunderhacker",
-       "   Skip            LeaChim",
+       "   Skip            LeaChim         Majic          MacGyver",
+       "   Namegduf        Ankit           Phoenix        Taros",
        " ",
        "\2Thanks To\2:",
-       "   searchirc.com   irc-junkie.org  Brik",
+       "   searchirc.com   irc-junkie.org  Brik           fraggeln",
        " ",
        " Best experienced with: \2An IRC client\2",
        NULL
@@ -99,7 +105,7 @@ CmdResult CommandInfo::Handle (const std::vector<std::string>& parameters, User
        int i=0;
        while (lines[i])
                user->SendText(":%s %03d %s :%s", ServerInstance->Config->ServerName.c_str(), RPL_INFO, user->nick.c_str(), lines[i++]);
-       FOREACH_MOD(I_OnInfo,OnInfo(user));
+       FOREACH_MOD(OnInfo, (user));
        user->SendText(":%s %03d %s :End of /INFO list", ServerInstance->Config->ServerName.c_str(), RPL_ENDOFINFO, user->nick.c_str());
        return CMD_SUCCESS;
 }