RE: [NeoStats-Devel] [Commits] r357 - branches/3.0
"M" <[email protected]>
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
> - if( SecureServ.autoupgrade )
> +
> + if ((SecureServ.updateuname[0] != 0) &&
> (SecureServ.updatepw[0] != 0)) {
> + AutoUpdate();
> AddTimer( TIMER_TYPE_INTERVAL, AutoUpdate,
> "AutoUpdate", SecureServ.autoupgradetime );
> - /* here, we run though the channel lists, as when we
> were booting, we were not checking. */
> + } else if (SecureServ.autoupgrade == 1) {
> + irc_chanalert (ss_bot, "No valid
> Username/Password configured for SecureServ Dat File Update");
> + }
This needs checking since now a timer is added for auto update even if it is
not enabled. A timer should not be enabled for valid user/pass detailes if
auto updates is not enabled.
Mark.