mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-18 14:16:36 +02:00
server: remove version from CTCP response
This commit is contained in:
parent
a8be84028c
commit
45563d9a59
|
@ -12,7 +12,7 @@ const ctcpResponses = {
|
||||||
.join(" "),
|
.join(" "),
|
||||||
PING: ({message}: {message: string}) => message.substring(5),
|
PING: ({message}: {message: string}) => message.substring(5),
|
||||||
SOURCE: () => pkg.repository.url,
|
SOURCE: () => pkg.repository.url,
|
||||||
VERSION: () => pkg.name + " " + Helper.getVersion() + " -- " + pkg.homepage,
|
VERSION: () => pkg.name + " -- " + pkg.homepage,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default <IrcEventHandler>function (irc, network) {
|
export default <IrcEventHandler>function (irc, network) {
|
||||||
|
|
Loading…
Reference in a new issue