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
" 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
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;
}