mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-02 13:52:17 +02:00
13 lines
184 B
JavaScript
13 lines
184 B
JavaScript
module.exports = function(network, chan, cmd, args) {
|
|
if (cmd !== "nick") {
|
|
return;
|
|
}
|
|
|
|
if (args.length !== 0) {
|
|
var irc = network.irc;
|
|
irc.nick(args[0]);
|
|
}
|
|
|
|
return true;
|
|
};
|