The user uses a script to perform on-connect commands, such as authentication, auto join, mode setting, etc.
It is upon a re-join he clains there is a crash.
```
global motdreceived;
#Alias
command perform(command)
{
fun_perform();
}
function fun_perform()
{
/privmsg nickserv recover brocky XXXX
/privmsg nickserv identify XXXX
/join #speedsims
/join #offtopic
/join #hackers
/oper Brocky XXXX
/mode Brocky +s -cF
/muteresp away
}
function on_connected()
{
fun_perform();
}
hook numeric(code, params, message)
{
if (motdreceived == true) return;
if (code == "376") { # End of MOTD
motdreceived = true;
on_connected();
}
}
hook disconnected()
{
motdreceived = false;
}
```
Tomatix
added this to the Version 1.1.0 milestone 3 years ago
The user uses a script to perform on-connect commands, such as authentication, auto join, mode setting, etc.
It is upon a re-join he clains there is a crash.
Cannot reproduce on Linux, need to check on Windows...
Rejected in favour of fix in issue #127 as these seem very relevant to each other.