mirror of
https://github.com/thelounge/thelounge
synced 2024-12-25 03:43:12 +00:00
9 lines
176 B
JavaScript
9 lines
176 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]);
|
|
}
|
|
};
|