libathemecore: fix logging to !snotices

Since neither "!snotices" nor "!wallops" starts with a '#', they were
treated as filenames.