comparison MIGRATING.md @ 1004:3ea3361f0fc7

irccd: now track modes
author David Demelier <markand@malikania.fr>
date Tue, 16 Feb 2021 18:37:22 +0100
parents ec5461750efd
children 509bcfb14670
comparison
equal deleted inserted replaced
1003:bbb3d3075ec2 1004:3ea3361f0fc7
76 - The property `channels` in the object for the `Server` constructor now takes 76 - The property `channels` in the object for the `Server` constructor now takes
77 an array of objects containing two properties each: `name` and `password` 77 an array of objects containing two properties each: `name` and `password`
78 which must be string (password is optional). 78 which must be string (password is optional).
79 - The property `commandChar` which is provided in both the `Server` constructor 79 - The property `commandChar` which is provided in both the `Server` constructor
80 and the `Server.info` returned object has been renamed to `prefix`. 80 and the `Server.info` returned object has been renamed to `prefix`.
81 - The event `onMode` now takes four arguments: server, channel, mode and list
82 of arguments to the mode. The previous signature was mostly unusable.
83
84 Plugins
85 -------
86
87 **logger**
88
89 - Due to the `onMode` change the template `mode` no longer takes `limit`,
90 `user` and `mask` but a string `args` instead.
81 91
82 Migrating from 2.x to 3.x 92 Migrating from 2.x to 3.x
83 ========================= 93 =========================
84 94
85 Irccd 95 Irccd