]> 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 6e5f2a90996ee45527ae45826e38b9f962a965dd..b3f146c307d79f5ec3da251ab8e45b686bc823d6 100644 (file)
@@ -100,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;
 }