05/09/2009, 18:03
A mon avis, je me goure peut etre mais si la variable $chan n'est pas defini sa risque pas de marcher et donc de ce fait il faut modifier
par
tcl
proc time:closing {min hour day month year} {
global chanToClose
putserv "PRIVMSG $chanToClose :Kicking..."
foreach toKick [chanlist chanToClose] {
putserv "KICK $chan $toKick :Fermeture automatique du chan"
}
}
par
tcl
proc time:closing {min hour day month year} {
global chanToClose
putserv "PRIVMSG $chanToClose :Kicking..."
foreach toKick [chanlist chanToClose] {
putserv "KICK $chanToClose $toKick :Fermeture automatique du chan"
}
}