Skip to content

Commit 2a88d19

Browse files
committed
chore: Disable closepage replies
1 parent f1157b0 commit 2a88d19

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
@@ -10,7 +10,7 @@ export function interfaceHandler(message: PSMessage) {
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
13-
if (message.content.startsWith('|requestpage|')) return;
13+
if (message.content.startsWith('|requestpage|') || message.content.startsWith('|closepage|')) return;
1414

1515
/* Challenges and battle-related handlers */
1616

0 commit comments

Comments
 (0)