Skip to content

Commit 71c8068

Browse files
committed
chore: Author optional?
1 parent ad25cb1 commit 71c8068

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ps/handlers/interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import type { PSMessage } from '@/types/ps';
66

77
export default function interfaceHandler(message: PSMessage) {
88
// Ignore & messages
9-
if (message.isIntro || !message.author.userid || !message.target) return;
9+
if (message.isIntro || !message.author?.userid || !message.target) return;
1010
if (message.author.userid === message.parent.status.userid) return;
1111
if (message.type === 'pm') {
1212
// Ignore page requests; the PS interface for this is horrible

0 commit comments

Comments
 (0)