Skip to content

Commit a621864

Browse files
committed
Apply license properly
Put the license information in each source file the way GPL-2.0 says and remove the "How to apply this license" part from LICENSE.md
1 parent c0638ac commit a621864

File tree

6 files changed

+96
-61
lines changed

6 files changed

+96
-61
lines changed

LICENSE.md

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -281,64 +281,3 @@ modification follow.
281281
POSSIBILITY OF SUCH DAMAGES.
282282

283283
## END OF TERMS AND CONDITIONS ##
284-
285-
---------------------------------------------------------------------------
286-
287-
### How to Apply These Terms to Your New Programs ###
288-
289-
If you develop a new program, and you want it to be of the greatest
290-
possible use to the public, the best way to achieve this is to make it
291-
free software which everyone can redistribute and change under these terms.
292-
293-
To do so, attach the following notices to the program. It is safest
294-
to attach them to the start of each source file to most effectively
295-
convey the exclusion of warranty; and each file should have at least
296-
the "copyright" line and a pointer to where the full notice is found.
297-
298-
<one line to give the program's name and a brief idea of what it does.>
299-
Copyright (C) <year> <name of author>
300-
301-
This program is free software; you can redistribute it and/or modify
302-
it under the terms of the GNU General Public License as published by
303-
the Free Software Foundation; either version 2 of the License, or
304-
(at your option) any later version.
305-
306-
This program is distributed in the hope that it will be useful,
307-
but WITHOUT ANY WARRANTY; without even the implied warranty of
308-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
309-
GNU General Public License for more details.
310-
311-
You should have received a copy of the GNU General Public License along
312-
with this program; if not, write to the Free Software Foundation, Inc.,
313-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
314-
315-
Also add information on how to contact you by electronic and paper mail.
316-
317-
If the program is interactive, make it output a short notice like this
318-
when it starts in an interactive mode:
319-
320-
Gnomovision version 69, Copyright (C) year name of author
321-
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
322-
This is free software, and you are welcome to redistribute it
323-
under certain conditions; type `show c' for details.
324-
325-
The hypothetical commands `show w' and `show c' should show the appropriate
326-
parts of the General Public License. Of course, the commands you use may
327-
be called something other than `show w' and `show c'; they could even be
328-
mouse-clicks or menu items--whatever suits your program.
329-
330-
You should also get your employer (if you work as a programmer) or your
331-
school, if any, to sign a "copyright disclaimer" for the program, if
332-
necessary. Here is a sample; alter the names:
333-
334-
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
335-
`Gnomovision' (which makes passes at compilers) written by James Hacker.
336-
337-
<signature of Ty Coon>, 1 April 1989
338-
Ty Coon, President of Vice
339-
340-
This General Public License does not permit incorporating your program into
341-
proprietary programs. If your program is a subroutine library, you may
342-
consider it more useful to permit linking proprietary applications with the
343-
library. If this is what you want to do, use the GNU Lesser General
344-
Public License instead of this License.

config/default.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
A multi-functional bot for the NXKit Team
3+
Copyright (C) 2015 Wolvan
4+
5+
This program is free software; you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation; either version 2 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License along
16+
with this program; if not, write to the Free Software Foundation, Inc.,
17+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*/
19+
120
module.exports = {
221
GitterIRCBridges: [
322
{

main.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
/*
2+
A multi-functional bot for the NXKit Team
3+
Copyright (C) 2015 Wolvan
4+
5+
This program is free software; you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation; either version 2 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License along
16+
with this program; if not, write to the Free Software Foundation, Inc.,
17+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*/
19+
20+
console.log("NewXKitBot version 2, Copyright (C) 2015 Wolvan\nNewXKitBot comes with ABSOLUTELY NO WARRANTY\n\n");
121
console.log("Starting up NewXKitBot v2.0 by Wolvan...\n");
222

323
var GitterIRCBridge = require("./modules/GitterIRCBridge.js");

modules/GitterChat.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
A multi-functional bot for the NXKit Team
3+
Copyright (C) 2015 Wolvan
4+
5+
This program is free software; you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation; either version 2 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License along
16+
with this program; if not, write to the Free Software Foundation, Inc.,
17+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*/
19+
120
var Gitter = require('node-gitter');
221

322
function GitterChat(gitter_token, channel, cmd_prefix) {

modules/GitterIRCBridge.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
A multi-functional bot for the NXKit Team
3+
Copyright (C) 2015 Wolvan
4+
5+
This program is free software; you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation; either version 2 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License along
16+
with this program; if not, write to the Free Software Foundation, Inc.,
17+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*/
19+
120
var GitterChat = require("./GitterChat");
221
var IRCChat = require("./IRCChat");
322
var octonode = require("octonode");

modules/IRCChat.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
/*
2+
A multi-functional bot for the NXKit Team
3+
Copyright (C) 2015 Wolvan
4+
5+
This program is free software; you can redistribute it and/or modify
6+
it under the terms of the GNU General Public License as published by
7+
the Free Software Foundation; either version 2 of the License, or
8+
(at your option) any later version.
9+
10+
This program is distributed in the hope that it will be useful,
11+
but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
GNU General Public License for more details.
14+
15+
You should have received a copy of the GNU General Public License along
16+
with this program; if not, write to the Free Software Foundation, Inc.,
17+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18+
*/
19+
120
var irc = require('irc');
221

322
var IRCConnections = {};

0 commit comments

Comments
 (0)