2 * InspIRCd -- Internet Relay Chat Daemon
4 * Copyright (C) 2017-2019 Sadie Powell <sadie@witchery.services>
5 * Copyright (C) 2015 Robin Burchell <robin+git@viroteck.net>
6 * Copyright (C) 2013-2014, 2016 Attila Molnar <attilamolnar@hush.com>
7 * Copyright (C) 2012, 2019 Robby <robby@chatbelgie.be>
8 * Copyright (C) 2009-2010 Daniel De Graaf <danieldg@inspircd.org>
9 * Copyright (C) 2007, 2010 Craig Edwards <brain@inspircd.org>
10 * Copyright (C) 2007 Dennis Friis <peavey@inspircd.org>
12 * This file is part of InspIRCd. InspIRCd is free software: you can
13 * redistribute it and/or modify it under the terms of the GNU General Public
14 * License as published by the Free Software Foundation, version 2.
16 * This program is distributed in the hope that it will be useful, but WITHOUT
17 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21 * You should have received a copy of the GNU General Public License
22 * along with this program. If not, see <http://www.gnu.org/licenses/>.
27 #include "core_info.h"
29 CommandInfo::CommandInfo(Module* parent)
30 : ServerTargetCommand(parent, "INFO")
33 syntax = "[<servername>]";
36 static const char* const lines[] = {
37 " -/\\- \002InspIRCd\002 -\\/-",
38 " November 2002 - Present",
40 "\002Core Developers\002:",
41 " Attila Molnar, Attila, <attilamolnar@hush.com>",
42 " Sadie Powell, SadieCat, <sadie@witchery.services>",
44 "\002Former Developers\002:",
45 " Daniel De Graaf, danieldg, <danieldg@inspircd.org>",
46 " Dennis Friis, peavey, <peavey@inspircd.org>",
47 " John Brooks, Special, <special@inspircd.org>",
48 " Matt Smith, dz, <dz@inspircd.org>",
49 " Oliver Lupton, Om, <om@inspircd.org>",
50 " Thomas Stagner, aquanight, <aquanight@inspircd.org>",
51 " Uli Schlachter, psychon, <psychon@inspircd.org>",
53 "\002Founding Developers\002:",
54 " Craig Edwards, Brain, <brain@inspircd.org>",
55 " Craig McLure, Craig, <craig@inspircd.org>",
56 " Robin Burchell, w00t, <w00t@inspircd.org>",
58 "\002Active Contributors\002:",
59 " Adam linuxdaemon Sheogorath",
61 "\002Former Contributors\002:",
62 " Adremelech Ankit AnMaster Bricker",
63 " BuildSmart Burlex CC ChrisTX",
64 " Dan djGrrr dmb eggy",
65 " GreenReaper HiroP jackmcbarn jamie",
66 " Jason jilles John2 kaniini",
67 " LeaChim MacGyver Majic Namegduf",
68 " owine Phoenix pippijn praetorian",
69 " Quension satmd Shawn Shutter",
70 " skenmy Skip Stskeeps Taros",
71 " ThaPrince Thunderhacker typobox43 Zaba",
74 " Asmo Brik fraggeln genius3000",
76 " Best experienced with: \002An IRC client\002",
82 CmdResult CommandInfo::Handle(User* user, const Params& parameters)
84 if (parameters.size() > 0 && !irc::equals(parameters[0], ServerInstance->Config->ServerName))
89 user->WriteRemoteNumeric(RPL_INFO, lines[i++]);
91 user->WriteRemoteNumeric(RPL_ENDOFINFO, "End of /INFO list");