~ubuntu-branches/ubuntu/gutsy/irssi/gutsy-backports

« back to all changes in this revision

Viewing changes to src/core/log.c

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2007-11-19 10:49:04 UTC
  • mfrom: (6.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20071119104904-kzu9r9h7cq8as4ri
Tags: 0.8.12-2ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
14
    GNU General Public License for more details.
15
15
 
16
 
    You should have received a copy of the GNU General Public License
17
 
    along with this program; if not, write to the Free Software
18
 
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
16
    You should have received a copy of the GNU General Public License along
 
17
    with this program; if not, write to the Free Software Foundation, Inc.,
 
18
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
*/
20
20
 
21
21
#include "module.h"
299
299
                if ((level & rec->level) == 0)
300
300
                        continue;
301
301
 
302
 
                if (item == NULL) {
303
 
                        if (rec->temp == 0) log_write_rec(rec, str, level);
304
 
                } else if (rec->items == NULL)
 
302
                if (rec->items == NULL)
305
303
                        fallbacks = g_slist_append(fallbacks, rec);
306
304
                else if (log_item_find(rec, LOG_ITEM_TARGET, item,
307
305
                                       server_tag) != NULL)