DalekIRC / Dalek-Services

IRC Services with WordPress integration. Have everything your way!
GNU General Public License v3.0
12 stars 6 forks source link

PHP Notice: Undefined property: Channel::$modes in src/client.php on line 141 #35

Closed progval closed 2 years ago

progval commented 2 years ago

This happens on startup, just before sending each SJOIN to service channels.

PHP Warning:  Undefined property: Channel::$modes in /home/runner/work/irctest/irctest/Dlk-Services/src/client.php on line 141
PHP Stack trace:
PHP   1. {main}() /home/runner/work/irctest/irctest/Dlk-Services/src/dalek:0
PHP   2. include() /home/runner/work/irctest/irctest/Dlk-Services/src/dalek:2
PHP   3. hook::run($hook = 'connect', $args = []) /home/runner/work/irctest/irctest/Dlk-Services/src/main.php:178
PHP   4. nickserv::spawn_client([]) /home/runner/work/irctest/irctest/Dlk-Services/src/hook.php:79
PHP   5. Client->__construct($nick = 'NickServ', $ident = 'services', $hostmask = 'services.host', $uid = NULL, $gecos = 'Nickname Registration Service', $modinfo = 'nickserv') /home/runner/work/irctest/irctest/Dlk-Services/src/modules/NickServ/nickserv.php:131
PHP   6. Client->join(...$dests = variadic('#services')) /home/runner/work/irctest/irctest/Dlk-Services/src/client.php:56
ValwareIRC commented 2 years ago

This is fixed in 68fd57b