mirror of
https://github.com/pragma-/pbot.git
synced 2024-11-24 04:49:26 +01:00
Relicense under MIT
This commit is contained in:
parent
97361b40a2
commit
dfae9bebc0
392
LICENSE
392
LICENSE
@ -1,373 +1,19 @@
|
|||||||
Mozilla Public License Version 2.0
|
Copyright (c) 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
==================================
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
1. Definitions
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
--------------
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
1.1. "Contributor"
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
means each individual or legal entity that creates, contributes to
|
furnished to do so, subject to the following conditions:
|
||||||
the creation of, or owns Covered Software.
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
1.2. "Contributor Version"
|
copies or substantial portions of the Software.
|
||||||
means the combination of the Contributions of others (if any) used
|
|
||||||
by a Contributor and that particular Contributor's Contribution.
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
1.3. "Contribution"
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||||
means Covered Software of a particular Contributor.
|
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
1.4. "Covered Software"
|
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
|
||||||
means Source Code Form to which the initial Contributor has attached
|
OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
the notice in Exhibit A, the Executable Form of such Source Code
|
|
||||||
Form, and Modifications of such Source Code Form, in each case
|
|
||||||
including portions thereof.
|
|
||||||
|
|
||||||
1.5. "Incompatible With Secondary Licenses"
|
|
||||||
means
|
|
||||||
|
|
||||||
(a) that the initial Contributor has attached the notice described
|
|
||||||
in Exhibit B to the Covered Software; or
|
|
||||||
|
|
||||||
(b) that the Covered Software was made available under the terms of
|
|
||||||
version 1.1 or earlier of the License, but not also under the
|
|
||||||
terms of a Secondary License.
|
|
||||||
|
|
||||||
1.6. "Executable Form"
|
|
||||||
means any form of the work other than Source Code Form.
|
|
||||||
|
|
||||||
1.7. "Larger Work"
|
|
||||||
means a work that combines Covered Software with other material, in
|
|
||||||
a separate file or files, that is not Covered Software.
|
|
||||||
|
|
||||||
1.8. "License"
|
|
||||||
means this document.
|
|
||||||
|
|
||||||
1.9. "Licensable"
|
|
||||||
means having the right to grant, to the maximum extent possible,
|
|
||||||
whether at the time of the initial grant or subsequently, any and
|
|
||||||
all of the rights conveyed by this License.
|
|
||||||
|
|
||||||
1.10. "Modifications"
|
|
||||||
means any of the following:
|
|
||||||
|
|
||||||
(a) any file in Source Code Form that results from an addition to,
|
|
||||||
deletion from, or modification of the contents of Covered
|
|
||||||
Software; or
|
|
||||||
|
|
||||||
(b) any new file in Source Code Form that contains any Covered
|
|
||||||
Software.
|
|
||||||
|
|
||||||
1.11. "Patent Claims" of a Contributor
|
|
||||||
means any patent claim(s), including without limitation, method,
|
|
||||||
process, and apparatus claims, in any patent Licensable by such
|
|
||||||
Contributor that would be infringed, but for the grant of the
|
|
||||||
License, by the making, using, selling, offering for sale, having
|
|
||||||
made, import, or transfer of either its Contributions or its
|
|
||||||
Contributor Version.
|
|
||||||
|
|
||||||
1.12. "Secondary License"
|
|
||||||
means either the GNU General Public License, Version 2.0, the GNU
|
|
||||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
|
||||||
Public License, Version 3.0, or any later versions of those
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
1.13. "Source Code Form"
|
|
||||||
means the form of the work preferred for making modifications.
|
|
||||||
|
|
||||||
1.14. "You" (or "Your")
|
|
||||||
means an individual or a legal entity exercising rights under this
|
|
||||||
License. For legal entities, "You" includes any entity that
|
|
||||||
controls, is controlled by, or is under common control with You. For
|
|
||||||
purposes of this definition, "control" means (a) the power, direct
|
|
||||||
or indirect, to cause the direction or management of such entity,
|
|
||||||
whether by contract or otherwise, or (b) ownership of more than
|
|
||||||
fifty percent (50%) of the outstanding shares or beneficial
|
|
||||||
ownership of such entity.
|
|
||||||
|
|
||||||
2. License Grants and Conditions
|
|
||||||
--------------------------------
|
|
||||||
|
|
||||||
2.1. Grants
|
|
||||||
|
|
||||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
|
||||||
non-exclusive license:
|
|
||||||
|
|
||||||
(a) under intellectual property rights (other than patent or trademark)
|
|
||||||
Licensable by such Contributor to use, reproduce, make available,
|
|
||||||
modify, display, perform, distribute, and otherwise exploit its
|
|
||||||
Contributions, either on an unmodified basis, with Modifications, or
|
|
||||||
as part of a Larger Work; and
|
|
||||||
|
|
||||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
|
||||||
for sale, have made, import, and otherwise transfer either its
|
|
||||||
Contributions or its Contributor Version.
|
|
||||||
|
|
||||||
2.2. Effective Date
|
|
||||||
|
|
||||||
The licenses granted in Section 2.1 with respect to any Contribution
|
|
||||||
become effective for each Contribution on the date the Contributor first
|
|
||||||
distributes such Contribution.
|
|
||||||
|
|
||||||
2.3. Limitations on Grant Scope
|
|
||||||
|
|
||||||
The licenses granted in this Section 2 are the only rights granted under
|
|
||||||
this License. No additional rights or licenses will be implied from the
|
|
||||||
distribution or licensing of Covered Software under this License.
|
|
||||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
|
||||||
Contributor:
|
|
||||||
|
|
||||||
(a) for any code that a Contributor has removed from Covered Software;
|
|
||||||
or
|
|
||||||
|
|
||||||
(b) for infringements caused by: (i) Your and any other third party's
|
|
||||||
modifications of Covered Software, or (ii) the combination of its
|
|
||||||
Contributions with other software (except as part of its Contributor
|
|
||||||
Version); or
|
|
||||||
|
|
||||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
|
||||||
its Contributions.
|
|
||||||
|
|
||||||
This License does not grant any rights in the trademarks, service marks,
|
|
||||||
or logos of any Contributor (except as may be necessary to comply with
|
|
||||||
the notice requirements in Section 3.4).
|
|
||||||
|
|
||||||
2.4. Subsequent Licenses
|
|
||||||
|
|
||||||
No Contributor makes additional grants as a result of Your choice to
|
|
||||||
distribute the Covered Software under a subsequent version of this
|
|
||||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
|
||||||
permitted under the terms of Section 3.3).
|
|
||||||
|
|
||||||
2.5. Representation
|
|
||||||
|
|
||||||
Each Contributor represents that the Contributor believes its
|
|
||||||
Contributions are its original creation(s) or it has sufficient rights
|
|
||||||
to grant the rights to its Contributions conveyed by this License.
|
|
||||||
|
|
||||||
2.6. Fair Use
|
|
||||||
|
|
||||||
This License is not intended to limit any rights You have under
|
|
||||||
applicable copyright doctrines of fair use, fair dealing, or other
|
|
||||||
equivalents.
|
|
||||||
|
|
||||||
2.7. Conditions
|
|
||||||
|
|
||||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
|
||||||
in Section 2.1.
|
|
||||||
|
|
||||||
3. Responsibilities
|
|
||||||
-------------------
|
|
||||||
|
|
||||||
3.1. Distribution of Source Form
|
|
||||||
|
|
||||||
All distribution of Covered Software in Source Code Form, including any
|
|
||||||
Modifications that You create or to which You contribute, must be under
|
|
||||||
the terms of this License. You must inform recipients that the Source
|
|
||||||
Code Form of the Covered Software is governed by the terms of this
|
|
||||||
License, and how they can obtain a copy of this License. You may not
|
|
||||||
attempt to alter or restrict the recipients' rights in the Source Code
|
|
||||||
Form.
|
|
||||||
|
|
||||||
3.2. Distribution of Executable Form
|
|
||||||
|
|
||||||
If You distribute Covered Software in Executable Form then:
|
|
||||||
|
|
||||||
(a) such Covered Software must also be made available in Source Code
|
|
||||||
Form, as described in Section 3.1, and You must inform recipients of
|
|
||||||
the Executable Form how they can obtain a copy of such Source Code
|
|
||||||
Form by reasonable means in a timely manner, at a charge no more
|
|
||||||
than the cost of distribution to the recipient; and
|
|
||||||
|
|
||||||
(b) You may distribute such Executable Form under the terms of this
|
|
||||||
License, or sublicense it under different terms, provided that the
|
|
||||||
license for the Executable Form does not attempt to limit or alter
|
|
||||||
the recipients' rights in the Source Code Form under this License.
|
|
||||||
|
|
||||||
3.3. Distribution of a Larger Work
|
|
||||||
|
|
||||||
You may create and distribute a Larger Work under terms of Your choice,
|
|
||||||
provided that You also comply with the requirements of this License for
|
|
||||||
the Covered Software. If the Larger Work is a combination of Covered
|
|
||||||
Software with a work governed by one or more Secondary Licenses, and the
|
|
||||||
Covered Software is not Incompatible With Secondary Licenses, this
|
|
||||||
License permits You to additionally distribute such Covered Software
|
|
||||||
under the terms of such Secondary License(s), so that the recipient of
|
|
||||||
the Larger Work may, at their option, further distribute the Covered
|
|
||||||
Software under the terms of either this License or such Secondary
|
|
||||||
License(s).
|
|
||||||
|
|
||||||
3.4. Notices
|
|
||||||
|
|
||||||
You may not remove or alter the substance of any license notices
|
|
||||||
(including copyright notices, patent notices, disclaimers of warranty,
|
|
||||||
or limitations of liability) contained within the Source Code Form of
|
|
||||||
the Covered Software, except that You may alter any license notices to
|
|
||||||
the extent required to remedy known factual inaccuracies.
|
|
||||||
|
|
||||||
3.5. Application of Additional Terms
|
|
||||||
|
|
||||||
You may choose to offer, and to charge a fee for, warranty, support,
|
|
||||||
indemnity or liability obligations to one or more recipients of Covered
|
|
||||||
Software. However, You may do so only on Your own behalf, and not on
|
|
||||||
behalf of any Contributor. You must make it absolutely clear that any
|
|
||||||
such warranty, support, indemnity, or liability obligation is offered by
|
|
||||||
You alone, and You hereby agree to indemnify every Contributor for any
|
|
||||||
liability incurred by such Contributor as a result of warranty, support,
|
|
||||||
indemnity or liability terms You offer. You may include additional
|
|
||||||
disclaimers of warranty and limitations of liability specific to any
|
|
||||||
jurisdiction.
|
|
||||||
|
|
||||||
4. Inability to Comply Due to Statute or Regulation
|
|
||||||
---------------------------------------------------
|
|
||||||
|
|
||||||
If it is impossible for You to comply with any of the terms of this
|
|
||||||
License with respect to some or all of the Covered Software due to
|
|
||||||
statute, judicial order, or regulation then You must: (a) comply with
|
|
||||||
the terms of this License to the maximum extent possible; and (b)
|
|
||||||
describe the limitations and the code they affect. Such description must
|
|
||||||
be placed in a text file included with all distributions of the Covered
|
|
||||||
Software under this License. Except to the extent prohibited by statute
|
|
||||||
or regulation, such description must be sufficiently detailed for a
|
|
||||||
recipient of ordinary skill to be able to understand it.
|
|
||||||
|
|
||||||
5. Termination
|
|
||||||
--------------
|
|
||||||
|
|
||||||
5.1. The rights granted under this License will terminate automatically
|
|
||||||
if You fail to comply with any of its terms. However, if You become
|
|
||||||
compliant, then the rights granted under this License from a particular
|
|
||||||
Contributor are reinstated (a) provisionally, unless and until such
|
|
||||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
|
||||||
ongoing basis, if such Contributor fails to notify You of the
|
|
||||||
non-compliance by some reasonable means prior to 60 days after You have
|
|
||||||
come back into compliance. Moreover, Your grants from a particular
|
|
||||||
Contributor are reinstated on an ongoing basis if such Contributor
|
|
||||||
notifies You of the non-compliance by some reasonable means, this is the
|
|
||||||
first time You have received notice of non-compliance with this License
|
|
||||||
from such Contributor, and You become compliant prior to 30 days after
|
|
||||||
Your receipt of the notice.
|
|
||||||
|
|
||||||
5.2. If You initiate litigation against any entity by asserting a patent
|
|
||||||
infringement claim (excluding declaratory judgment actions,
|
|
||||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
|
||||||
directly or indirectly infringes any patent, then the rights granted to
|
|
||||||
You by any and all Contributors for the Covered Software under Section
|
|
||||||
2.1 of this License shall terminate.
|
|
||||||
|
|
||||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
|
||||||
end user license agreements (excluding distributors and resellers) which
|
|
||||||
have been validly granted by You or Your distributors under this License
|
|
||||||
prior to termination shall survive termination.
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 6. Disclaimer of Warranty *
|
|
||||||
* ------------------------- *
|
|
||||||
* *
|
|
||||||
* Covered Software is provided under this License on an "as is" *
|
|
||||||
* basis, without warranty of any kind, either expressed, implied, or *
|
|
||||||
* statutory, including, without limitation, warranties that the *
|
|
||||||
* Covered Software is free of defects, merchantable, fit for a *
|
|
||||||
* particular purpose or non-infringing. The entire risk as to the *
|
|
||||||
* quality and performance of the Covered Software is with You. *
|
|
||||||
* Should any Covered Software prove defective in any respect, You *
|
|
||||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
|
||||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
|
||||||
* essential part of this License. No use of any Covered Software is *
|
|
||||||
* authorized under this License except under this disclaimer. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
************************************************************************
|
|
||||||
* *
|
|
||||||
* 7. Limitation of Liability *
|
|
||||||
* -------------------------- *
|
|
||||||
* *
|
|
||||||
* Under no circumstances and under no legal theory, whether tort *
|
|
||||||
* (including negligence), contract, or otherwise, shall any *
|
|
||||||
* Contributor, or anyone who distributes Covered Software as *
|
|
||||||
* permitted above, be liable to You for any direct, indirect, *
|
|
||||||
* special, incidental, or consequential damages of any character *
|
|
||||||
* including, without limitation, damages for lost profits, loss of *
|
|
||||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
|
||||||
* and all other commercial damages or losses, even if such party *
|
|
||||||
* shall have been informed of the possibility of such damages. This *
|
|
||||||
* limitation of liability shall not apply to liability for death or *
|
|
||||||
* personal injury resulting from such party's negligence to the *
|
|
||||||
* extent applicable law prohibits such limitation. Some *
|
|
||||||
* jurisdictions do not allow the exclusion or limitation of *
|
|
||||||
* incidental or consequential damages, so this exclusion and *
|
|
||||||
* limitation may not apply to You. *
|
|
||||||
* *
|
|
||||||
************************************************************************
|
|
||||||
|
|
||||||
8. Litigation
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Any litigation relating to this License may be brought only in the
|
|
||||||
courts of a jurisdiction where the defendant maintains its principal
|
|
||||||
place of business and such litigation shall be governed by laws of that
|
|
||||||
jurisdiction, without reference to its conflict-of-law provisions.
|
|
||||||
Nothing in this Section shall prevent a party's ability to bring
|
|
||||||
cross-claims or counter-claims.
|
|
||||||
|
|
||||||
9. Miscellaneous
|
|
||||||
----------------
|
|
||||||
|
|
||||||
This License represents the complete agreement concerning the subject
|
|
||||||
matter hereof. If any provision of this License is held to be
|
|
||||||
unenforceable, such provision shall be reformed only to the extent
|
|
||||||
necessary to make it enforceable. Any law or regulation which provides
|
|
||||||
that the language of a contract shall be construed against the drafter
|
|
||||||
shall not be used to construe this License against a Contributor.
|
|
||||||
|
|
||||||
10. Versions of the License
|
|
||||||
---------------------------
|
|
||||||
|
|
||||||
10.1. New Versions
|
|
||||||
|
|
||||||
Mozilla Foundation is the license steward. Except as provided in Section
|
|
||||||
10.3, no one other than the license steward has the right to modify or
|
|
||||||
publish new versions of this License. Each version will be given a
|
|
||||||
distinguishing version number.
|
|
||||||
|
|
||||||
10.2. Effect of New Versions
|
|
||||||
|
|
||||||
You may distribute the Covered Software under the terms of the version
|
|
||||||
of the License under which You originally received the Covered Software,
|
|
||||||
or under the terms of any subsequent version published by the license
|
|
||||||
steward.
|
|
||||||
|
|
||||||
10.3. Modified Versions
|
|
||||||
|
|
||||||
If you create software not governed by this License, and you want to
|
|
||||||
create a new license for such software, you may create and use a
|
|
||||||
modified version of this License if you rename the license and remove
|
|
||||||
any references to the name of the license steward (except to note that
|
|
||||||
such modified license differs from this License).
|
|
||||||
|
|
||||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
|
||||||
Licenses
|
|
||||||
|
|
||||||
If You choose to distribute Source Code Form that is Incompatible With
|
|
||||||
Secondary Licenses under the terms of this version of the License, the
|
|
||||||
notice described in Exhibit B of this License must be attached.
|
|
||||||
|
|
||||||
Exhibit A - Source Code Form License Notice
|
|
||||||
-------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is subject to the terms of the Mozilla Public
|
|
||||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
If it is not possible or desirable to put the notice in a particular
|
|
||||||
file, then You may include the notice in a location (such as a LICENSE
|
|
||||||
file in a relevant directory) where a recipient would be likely to look
|
|
||||||
for such a notice.
|
|
||||||
|
|
||||||
You may add additional accurate notices of copyright ownership.
|
|
||||||
|
|
||||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
|
||||||
---------------------------------------------------------
|
|
||||||
|
|
||||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
|
||||||
defined by the Mozilla Public License, v. 2.0.
|
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# The nickserv/ban-evasion stuff probably ought to be in BanTracker or some
|
# The nickserv/ban-evasion stuff probably ought to be in BanTracker or some
|
||||||
# such suitable class.
|
# such suitable class.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::AntiFlood;
|
package PBot::AntiFlood;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Checks if a message is spam
|
# Purpose: Checks if a message is spam
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::AntiSpam;
|
package PBot::AntiSpam;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# joining channels and by tracking modes +b/+q and -b/-q in channels. Keeps
|
# joining channels and by tracking modes +b/+q and -b/-q in channels. Keeps
|
||||||
# track of remaining duration for timed bans/quiets. Handles ban/unban queue.
|
# track of remaining duration for timed bans/quiets. Handles ban/unban queue.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::BanList;
|
package PBot::BanList;
|
||||||
|
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Manages list of hostmasks that are not allowed to join a channel.
|
# Purpose: Manages list of hostmasks that are not allowed to join a channel.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::BlackList;
|
package PBot::BlackList;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Fine-grained user permissions.
|
# Purpose: Fine-grained user permissions.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Capabilities;
|
package PBot::Capabilities;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Channel operator command subroutines.
|
# Purpose: Channel operator command subroutines.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::ChanOpCommands;
|
package PBot::ChanOpCommands;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Provides channel operator status tracking and commands.
|
# Purpose: Provides channel operator status tracking and commands.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::ChanOps;
|
package PBot::ChanOps;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Manages list of channels and auto-joins.
|
# Purpose: Manages list of channels and auto-joins.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Channels;
|
package PBot::Channels;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Base class for PBot classes. This prevents each PBot class from
|
# Purpose: Base class for PBot classes. This prevents each PBot class from
|
||||||
# needing to define the new() constructor and other boilerplate.
|
# needing to define the new() constructor and other boilerplate.
|
||||||
#
|
#
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Class;
|
package PBot::Class;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Registers commands. Invokes commands with user capability
|
# Purpose: Registers commands. Invokes commands with user capability
|
||||||
# validation.
|
# validation.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Commands;
|
package PBot::Commands;
|
||||||
use parent 'PBot::Class', 'PBot::Registerable';
|
use parent 'PBot::Class', 'PBot::Registerable';
|
||||||
|
@ -10,9 +10,8 @@
|
|||||||
# Data is stored in working memory for lightning fast performance. If you have
|
# Data is stored in working memory for lightning fast performance. If you have
|
||||||
# a huge amount of data, consider DualIndexSQLiteObject instead.
|
# a huge amount of data, consider DualIndexSQLiteObject instead.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::DualIndexHashObject;
|
package PBot::DualIndexHashObject;
|
||||||
|
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# setting and deleting values, caching, displaying nearest matches, etc. Designed to
|
# setting and deleting values, caching, displaying nearest matches, etc. Designed to
|
||||||
# be as compatible as possible with DualIndexHashObject; e.g. get_keys, get_data, etc.
|
# be as compatible as possible with DualIndexHashObject; e.g. get_keys, get_data, etc.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::DualIndexSQLiteObject;
|
package PBot::DualIndexSQLiteObject;
|
||||||
|
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
#
|
#
|
||||||
# Note: PBot::EventDispatcher has no relation to PBot::EventQueue.
|
# Note: PBot::EventDispatcher has no relation to PBot::EventQueue.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::EventDispatcher;
|
package PBot::EventDispatcher;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -5,9 +5,8 @@
|
|||||||
#
|
#
|
||||||
# Note: PBot::EventQueue has no relation to PBot::EventDispatcher.
|
# Note: PBot::EventQueue has no relation to PBot::EventDispatcher.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::EventQueue;
|
package PBot::EventQueue;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Factoid command subroutines.
|
# Purpose: Factoid command subroutines.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::FactoidCommands;
|
package PBot::FactoidCommands;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Provides functionality for factoids.
|
# Purpose: Provides functionality for factoids.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Factoids;
|
package PBot::Factoids;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -13,9 +13,8 @@
|
|||||||
# the command-substitution with the result, thus escaping $args to be safely
|
# the command-substitution with the result, thus escaping $args to be safely
|
||||||
# used in the URL of this simple Google Image Search factoid command.
|
# used in the URL of this simple Google Image Search factoid command.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Functions;
|
package PBot::Functions;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -5,9 +5,8 @@
|
|||||||
# case-insensitive access to the index key while preserving original case when
|
# case-insensitive access to the index key while preserving original case when
|
||||||
# displaying index key.
|
# displaying index key.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::HashObject;
|
package PBot::HashObject;
|
||||||
|
|
||||||
|
@ -5,9 +5,8 @@
|
|||||||
# multiple handlers for PRIVMSG spread throughout the bot and its plugins,
|
# multiple handlers for PRIVMSG spread throughout the bot and its plugins,
|
||||||
# for example.
|
# for example.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::IRCHandlers;
|
package PBot::IRCHandlers;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Manages ignore list.
|
# Purpose: Manages ignore list.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::IgnoreList;
|
package PBot::IgnoreList;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Boilerplate imports for PBot packages.
|
# Purpose: Boilerplate imports for PBot packages.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Imports;
|
package PBot::Imports;
|
||||||
|
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# command splitting, command output processing such as truncating long
|
# command splitting, command output processing such as truncating long
|
||||||
# text to web paste sites, etc.
|
# text to web paste sites, etc.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Interpreter;
|
package PBot::Interpreter;
|
||||||
use parent 'PBot::Class', 'PBot::Registerable';
|
use parent 'PBot::Class', 'PBot::Registerable';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: sends PING command to IRC server and times duration for PONG reply in
|
# Purpose: sends PING command to IRC server and times duration for PONG reply in
|
||||||
# order to maintain lag history and average.
|
# order to maintain lag history and average.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::LagChecker;
|
package PBot::LagChecker;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Logs text to file and STDOUT.
|
# Purpose: Logs text to file and STDOUT.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Logger;
|
package PBot::Logger;
|
||||||
|
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# Used in conjunction with AntiFlood and Quotegrabs for kick/ban on
|
# Used in conjunction with AntiFlood and Quotegrabs for kick/ban on
|
||||||
# flood/ban-evasion and grabbing quotes, respectively.
|
# flood/ban-evasion and grabbing quotes, respectively.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::MessageHistory;
|
package PBot::MessageHistory;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# ids. This is also extremely useful for detecting ban-evasions and listing
|
# ids. This is also extremely useful for detecting ban-evasions and listing
|
||||||
# also-known-as data for a nickname (see the !aka bot command).
|
# also-known-as data for a nickname (see the !aka bot command).
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::MessageHistory_SQLite;
|
package PBot::MessageHistory_SQLite;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Registers misc PBot commands that don't really belong in any
|
# Purpose: Registers misc PBot commands that don't really belong in any
|
||||||
# other file.
|
# other file.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::MiscCommands;
|
package PBot::MiscCommands;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# The standard error output is stored in a file named <module>-stderr in the
|
# The standard error output is stored in a file named <module>-stderr in the
|
||||||
# modules/ directory.
|
# modules/ directory.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Modules;
|
package PBot::Modules;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# Used to retrieve list of channels a nick is present in or to
|
# Used to retrieve list of channels a nick is present in or to
|
||||||
# determine if a nick is present in a channel.
|
# determine if a nick is present in a channel.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::NickList;
|
package PBot::NickList;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -13,9 +13,8 @@
|
|||||||
# numerous bugfixes and supports various new features such as IRCv3 client
|
# numerous bugfixes and supports various new features such as IRCv3 client
|
||||||
# capability negotiation and SASL user authentication.
|
# capability negotiation and SASL user authentication.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::PBot;
|
package PBot::PBot;
|
||||||
|
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Loads and manages external plugins.
|
# Purpose: Loads and manages external plugins.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Plugins;
|
package PBot::Plugins;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Handles forking and execution of module/subroutine processes.
|
# Purpose: Handles forking and execution of module/subroutine processes.
|
||||||
# Provides commands to list running processes and to kill them.
|
# Provides commands to list running processes and to kill them.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::ProcessManager;
|
package PBot::ProcessManager;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# module member data, only subroutines. TODO: reinitialize modules in order
|
# module member data, only subroutines. TODO: reinitialize modules in order
|
||||||
# to refresh member data too.
|
# to refresh member data too.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Refresher;
|
package PBot::Refresher;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Provides functionality to register and execute one or more subroutines.
|
# Purpose: Provides functionality to register and execute one or more subroutines.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Registerable;
|
package PBot::Registerable;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Provides a centralized registry of configuration settings that can
|
# Purpose: Provides a centralized registry of configuration settings that can
|
||||||
# easily be examined and updated via getters and setters.
|
# easily be examined and updated via getters and setters.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Registry;
|
package PBot::Registry;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Bot commands to manipulate Registry entries.
|
# Purpose: Bot commands to manipulate Registry entries.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::RegistryCommands;
|
package PBot::RegistryCommands;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Logs SQLite trace messages to Logger.pm with profiling of elapsed
|
# Purpose: Logs SQLite trace messages to Logger.pm with profiling of elapsed
|
||||||
# time between messages.
|
# time between messages.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::SQLiteLogger;
|
package PBot::SQLiteLogger;
|
||||||
|
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: PerlIO::via layer to log DBI trace messages.
|
# Purpose: PerlIO::via layer to log DBI trace messages.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::SQLiteLoggerLayer;
|
package PBot::SQLiteLoggerLayer;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Adds/removes file handles to/from PBot::IRC's select loop
|
# Purpose: Adds/removes file handles to/from PBot::IRC's select loop
|
||||||
# and contains handlers for select events.
|
# and contains handlers for select events.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::SelectHandler;
|
package PBot::SelectHandler;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -8,9 +8,8 @@
|
|||||||
#
|
#
|
||||||
# The above will output "hi" in channel #foo.
|
# The above will output "hi" in channel #foo.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::StdinReader;
|
package PBot::StdinReader;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# on versioning information. Ensures data/configuration files are in the
|
# on versioning information. Ensures data/configuration files are in the
|
||||||
# proper location and using the latest data structure.
|
# proper location and using the latest data structure.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Updater;
|
package PBot::Updater;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Manages list of bot users/admins and their metadata.
|
# Purpose: Manages list of bot users/admins and their metadata.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Users;
|
package PBot::Users;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# the 'expires' or 'Last-Modified' attributes, we always cache for the
|
# the 'expires' or 'Last-Modified' attributes, we always cache for the
|
||||||
# specified duration.
|
# specified duration.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Utils::LWPUserAgentCached;
|
package PBot::Utils::LWPUserAgentCached;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Intelligently parses strings like "1h30m", "5 minutes", "next week",
|
# Purpose: Intelligently parses strings like "1h30m", "5 minutes", "next week",
|
||||||
# "3:30 am pdt", "11 pm utc", etc, into seconds.
|
# "3:30 am pdt", "11 pm utc", etc, into seconds.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Utils::ParseDate;
|
package PBot::Utils::ParseDate;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: for strings containing filenames, translates potentially unsafe
|
# Purpose: for strings containing filenames, translates potentially unsafe
|
||||||
# characters into safe expansions; e.g. "foo/bar" becomes "foo&fslash;bar".
|
# characters into safe expansions; e.g. "foo/bar" becomes "foo&fslash;bar".
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Utils::SafeFilename;
|
package PBot::Utils::SafeFilename;
|
||||||
|
|
||||||
|
@ -4,9 +4,8 @@
|
|||||||
# for internal strings. This means ensuring the string is not too long,
|
# for internal strings. This means ensuring the string is not too long,
|
||||||
# does not have undesired characters, etc.
|
# does not have undesired characters, etc.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::Utils::ValidateString;
|
package PBot::Utils::ValidateString;
|
||||||
|
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Keeps track of bot version. Can compare current version against
|
# Purpose: Keeps track of bot version. Can compare current version against
|
||||||
# latest version on github or URL in `version.check_url` registry entry.
|
# latest version on github or URL in `version.check_url` registry entry.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::VERSION;
|
package PBot::VERSION;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Pastes text to a cycling list of web paste sites.
|
# Purpose: Pastes text to a cycling list of web paste sites.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::WebPaste;
|
package PBot::WebPaste;
|
||||||
use parent 'PBot::Class';
|
use parent 'PBot::Class';
|
||||||
|
@ -31,9 +31,8 @@
|
|||||||
#
|
#
|
||||||
# These are basic examples; more complex examples can be crafted.
|
# These are basic examples; more complex examples can be crafted.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::ActionTrigger;
|
package Plugins::ActionTrigger;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Kicks people that visibly auto-away with ACTIONs or nick-changes
|
# Purpose: Kicks people that visibly auto-away with ACTIONs or nick-changes
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::AntiAway;
|
package Plugins::AntiAway;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Temporarily bans people who immediately auto-rejoin after a kick.
|
# Purpose: Temporarily bans people who immediately auto-rejoin after a kick.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::AntiKickAutoRejoin;
|
package Plugins::AntiKickAutoRejoin;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Temporarily mutes $~a in channel if too many nicks were
|
# Purpose: Temporarily mutes $~a in channel if too many nicks were
|
||||||
# mentioned within a time period; used to combat botnet spam
|
# mentioned within a time period; used to combat botnet spam
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::AntiNickSpam;
|
package Plugins::AntiNickSpam;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: AntiRepeat.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Stops flooders/spammers from excessively repeating similiar messages.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::AntiRepeat;
|
package Plugins::AntiRepeat;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Warns people off from using @nick style addressing. Temp-bans
|
# Purpose: Warns people off from using @nick style addressing. Temp-bans
|
||||||
# if they persist.
|
# if they persist.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::AntiTwitter;
|
package Plugins::AntiTwitter;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Auto-rejoin channels after kick or whatever.
|
# Purpose: Auto-rejoin channels after kick or whatever.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::AutoRejoin;
|
package Plugins::AutoRejoin;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -21,9 +21,8 @@
|
|||||||
# the shot to a random tile. Much of the IOCCC silliness has been removed so that
|
# the shot to a random tile. Much of the IOCCC silliness has been removed so that
|
||||||
# I can maintain this code without going insane.
|
# I can maintain this code without going insane.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Battleship;
|
package Plugins::Battleship;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: Connect4.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Connect-4 game for IRC. Includes options to resize board
|
||||||
|
# dimensions and how many pieces to connect.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::Connect4;
|
package Plugins::Connect4;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: Counter.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Counts occurrences of phrases or keywords. Can automatically
|
||||||
|
# respond about specific counters.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::Counter;
|
package Plugins::Counter;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Adds command to display time and date for timezones.
|
# Purpose: Adds command to display time and date for timezones.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Date;
|
package Plugins::Date;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Example plugin boilerplate.
|
# Purpose: Example plugin boilerplate.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Example;
|
package Plugins::Example;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Registers the basic built-in Functions
|
# Purpose: Registers the basic built-in Functions
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::FuncBuiltins;
|
package Plugins::FuncBuiltins;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Registers the grep Function
|
# Purpose: Registers the grep Function
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::FuncGrep;
|
package Plugins::FuncGrep;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Registers the plural Function.
|
# Purpose: Registers the plural Function.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::FuncPlural;
|
package Plugins::FuncPlural;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Registers the sed Function
|
# Purpose: Registers the sed Function
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::FuncSed;
|
package Plugins::FuncSed;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: GoogleSearch.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Google CustomSearch API. You'll need to configure an api-key and
|
||||||
|
# a custom-search context. URLs to instructions are provided by the command.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::GoogleSearch;
|
package Plugins::GoogleSearch;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: ParseDate.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Just a simple interface to test/play with PBot::Utils::ParseDate
|
||||||
|
# and make sure it's working properly.
|
||||||
# Just a quick interface to test/play with PBot::Utils::ParseDate
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::ParseDate;
|
package Plugins::ParseDate;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Scripting language for creating advanced PBot factoids
|
# Purpose: Scripting language for creating advanced PBot factoids
|
||||||
# and interacting with various internal PBot APIs.
|
# and interacting with various internal PBot APIs.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Plang;
|
package Plugins::Plang;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Base class for PBot plugins.
|
# Purpose: Base class for PBot plugins.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Plugin;
|
package Plugins::Plugin;
|
||||||
|
|
||||||
|
@ -5,9 +5,8 @@
|
|||||||
# not just the most recent message. Can grab multiple distinct messages with
|
# not just the most recent message. Can grab multiple distinct messages with
|
||||||
# one `grab` command.
|
# one `grab` command.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Quotegrabs;
|
package Plugins::Quotegrabs;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
# File: Quotegrabs_Hashtable.pm
|
# File: Quotegrabs_Hashtable.pm
|
||||||
# Author: pragma_
|
|
||||||
#
|
#
|
||||||
# Purpose: Hashtable backend for storing and retreiving quotegrabs
|
# Purpose: Hashtable backend for storing and retreiving quotegrabs
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Quotegrabs::Quotegrabs_Hashtable;
|
package Plugins::Quotegrabs::Quotegrabs_Hashtable;
|
||||||
|
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
# File: Quotegrabs_SQLite.pm
|
# File: Quotegrabs_SQLite.pm
|
||||||
# Author: pragma_
|
|
||||||
#
|
#
|
||||||
# Purpose: SQLite back-end for storing and retreiving quotegrabs
|
# Purpose: SQLite back-end for storing and retreiving quotegrabs
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Quotegrabs::Quotegrabs_SQLite;
|
package Plugins::Quotegrabs::Quotegrabs_SQLite;
|
||||||
|
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: RelayUnreg.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Relays messages from unidentifed muted people in +q $~a channels
|
||||||
|
# with reduced-moderation in effect so OPs can see messages that would other-
|
||||||
|
# wise be blocked. This was made for channels being attacked by spammers. It
|
||||||
|
# allows unidentified users to still participate in the channel while blocking
|
||||||
|
# unidentified spammers.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::RelayUnreg;
|
package Plugins::RelayUnreg;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
# Purpose: Users can use `remindme` to set up reminders. Reminders are
|
# Purpose: Users can use `remindme` to set up reminders. Reminders are
|
||||||
# sent to the user (or to a channel, if option -c is used).
|
# sent to the user (or to a channel, if option -c is used).
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::RemindMe;
|
package Plugins::RemindMe;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -6,9 +6,8 @@
|
|||||||
# configurations where +v users are recognized as "semi-trusted" in
|
# configurations where +v users are recognized as "semi-trusted" in
|
||||||
# order to provide assistance in combating heavy spam and drone traffic.
|
# order to provide assistance in combating heavy spam and drone traffic.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::RestrictedMod;
|
package Plugins::RestrictedMod;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,6 +1,13 @@
|
|||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: Spinach.pm
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Trivial game engine with a twist. Game is played in rounds. Each
|
||||||
|
# round players choose a category of questions. Then a random question from
|
||||||
|
# that category is shown. All players then privately submit a "lie" to the
|
||||||
|
# bot. Then all "lies" are revealed along with the true answer. Players
|
||||||
|
# gain points every time another player picks their lie. Very fun!
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
package Plugins::Spinach;
|
package Plugins::Spinach;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/env perl
|
# File: Rank.pm
|
||||||
|
#
|
||||||
|
# Purpose: Ranks players by various keywords.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Spinach::Rank;
|
package Plugins::Spinach::Rank;
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/env perl
|
# File: Stats.pm
|
||||||
|
#
|
||||||
|
# Purpose: Records player stats.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Spinach::Stats;
|
package Plugins::Spinach::Stats;
|
||||||
|
|
||||||
|
@ -12,10 +12,8 @@
|
|||||||
# <alice> s/like/love/
|
# <alice> s/like/love/
|
||||||
# <PBot> alice meant to say: i love candy
|
# <PBot> alice meant to say: i love candy
|
||||||
|
|
||||||
#
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-License-Identifier: MIT
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::TypoSub;
|
package Plugins::TypoSub;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Display titles of URLs in channel messages.
|
# Purpose: Display titles of URLs in channel messages.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::UrlTitles;
|
package Plugins::UrlTitles;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
# File: Weather.pm
|
# File: Weather.pm
|
||||||
#
|
#
|
||||||
# Purpose: Weather command.
|
# Purpose: Weather command. See Wttr.pm for a more featureful command.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Weather;
|
package Plugins::Weather;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Query Wolfram|Alpha's Short Answers API.
|
# Purpose: Query Wolfram|Alpha's Short Answers API.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Wolfram;
|
package Plugins::Wolfram;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -2,9 +2,8 @@
|
|||||||
#
|
#
|
||||||
# Purpose: Weather command using Wttr.in.
|
# Purpose: Weather command using Wttr.in.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Plugins::Wttr;
|
package Plugins::Wttr;
|
||||||
use parent 'Plugins::Plugin';
|
use parent 'Plugins::Plugin';
|
||||||
|
@ -1,13 +1,11 @@
|
|||||||
# File: DualIndexSQLiteObject.pm
|
# File: DualIndexSQLiteObject.pm
|
||||||
# Author: pragma_
|
|
||||||
#
|
#
|
||||||
# Purpose: Provides a dual-indexed SQLite object with an abstracted API that includes
|
# Purpose: Provides a dual-indexed SQLite object with an abstracted API that includes
|
||||||
# setting and deleting values, caching, displaying nearest matches, etc. Designed to
|
# setting and deleting values, caching, displaying nearest matches, etc. Designed to
|
||||||
# be as compatible as possible with DualIndexHashObject; e.g. get_keys, get_data, etc.
|
# be as compatible as possible with DualIndexHashObject; e.g. get_keys, get_data, etc.
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package PBot::DualIndexSQLiteObject;
|
package PBot::DualIndexSQLiteObject;
|
||||||
|
|
||||||
|
@ -15,6 +15,9 @@
|
|||||||
# that were copied over are not out-dated. time-permitting, implement
|
# that were copied over are not out-dated. time-permitting, implement
|
||||||
# all the TODOs in this script.
|
# all the TODOs in this script.
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
|
||||||
|
11
misc/update-version
vendored
11
misc/update-version
vendored
@ -1,8 +1,11 @@
|
|||||||
#!/usr/bin/perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# File: update-version
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
#
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
# Purpose: Updates version information in PBot/VERSION.pm
|
||||||
|
|
||||||
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
|
# SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
5
modules/ago.pl
vendored
5
modules/ago.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use Time::Duration;
|
use Time::Duration;
|
||||||
|
|
||||||
|
5
modules/bashfaq.pl
vendored
5
modules/bashfaq.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
my $query = "@ARGV";
|
my $query = "@ARGV";
|
||||||
print "Usage: faq <id or search text>\n" and exit 0 if not length $query;
|
print "Usage: faq <id or search text>\n" and exit 0 if not length $query;
|
||||||
|
5
modules/bashpf.pl
vendored
5
modules/bashpf.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
my $query = "@ARGV";
|
my $query = "@ARGV";
|
||||||
print "Usage: pf <id or search text>\n" and exit 0 if not length $query;
|
print "Usage: pf <id or search text>\n" and exit 0 if not length $query;
|
||||||
|
5
modules/c11std.pl
vendored
5
modules/c11std.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
5
modules/c2english.pl
vendored
5
modules/c2english.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
# C-to-English Grammar
|
# C-to-English Grammar
|
||||||
# Pragmatic Software
|
# Pragmatic Software
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
{
|
{
|
||||||
my ($rule_name, @macros, @typedefs, @identifiers);
|
my ($rule_name, @macros, @typedefs, @identifiers);
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use strict;
|
use strict;
|
||||||
use warnings;
|
use warnings;
|
||||||
|
5
modules/c99std.pl
vendored
5
modules/c99std.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
5
modules/cdecl.pl
vendored
5
modules/cdecl.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
# quick and dirty by :pragma
|
# quick and dirty by :pragma
|
||||||
|
|
||||||
|
5
modules/cfaq.pl
vendored
5
modules/cfaq.pl
vendored
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
my $match = 1;
|
my $match = 1;
|
||||||
my $matches = 0;
|
my $matches = 0;
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package QStatskeeper;
|
package QStatskeeper;
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
package Scorekeeper;
|
package Scorekeeper;
|
||||||
|
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
|
|
||||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
# SPDX-FileCopyrightText: 2021 Pragmatic Software <pragma78@gmail.com>
|
||||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
# SPDX-License-Identifier: MIT
|
||||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
||||||
|
|
||||||
use warnings;
|
use warnings;
|
||||||
use strict;
|
use strict;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user