]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_info.cpp
Change the syntax of FOREACH macros to be less dumb.
[user/henk/code/inspircd.git] / src / commands / cmd_info.cpp
index 63debd3fe781b361efef857bd686d312cfa28880..b3f146c307d79f5ec3da251ab8e45b686bc823d6 100644 (file)
@@ -64,26 +64,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 +100,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;
 }