Repository navigation
Expand file tree
/
Copy pathsettings.js
More file actions
62 lines (43 loc) · 1.75 KB
/
Copy pathsettings.js
File metadata and controls
62 lines (43 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*
settings.js
This file is part of nirc-client.
nirc-client is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
nirc-client is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with nirc-client. If not, see http://www.gnu.org/licenses/.
Copyright 2014 Marco Stambor
*/
// please read the comments!
// BEGIN CONFIG VARIABLES
// WEB INTERFACE CONFIG
// the port the webclient will run on
const webPort = 3000;
const theme = 'bootstrap';
// IRC CLIENT CONFIG
// the client's user name, will be used as the hostname
const userName = 'nirc-client';
// used to determine the real name of a user, will be visible in whois commands
const realName = 'A small node-driven webclient for IRC';
// the port used to connect to a server. will be selectable for web users in near future
const port = 6667;
// automatically rejoin if connection is lost
const autoRejoin = true;
// removes colorcodes send by some irc clients
const stripColors = true;
// splits all messages exceeding the given character count into multiple messages
const messageSplit = 512;
// END CONFIG VARIABLES
exports.webPort = webPort;
exports.theme = theme;
exports.userName = userName;
exports.realName = realName;
exports.port = port;
exports.autoRejoin = autoRejoin;
exports.stripColors = stripColors;
exports.messageSplit = messageSplit;