mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
can not -> cannot
This commit is contained in:
parent
8a4ba13506
commit
c1a78c2006
@ -295,7 +295,7 @@ func handlePageRequest(c *gin.Context) {
|
|||||||
|
|
||||||
// Destroy page if it is opened and primed
|
// Destroy page if it is opened and primed
|
||||||
if p.IsPrimedForSelfDestruct && !p.IsLocked && !p.IsEncrypted {
|
if p.IsPrimedForSelfDestruct && !p.IsLocked && !p.IsEncrypted {
|
||||||
p.Update("*This page has self-destructed. You can not return to it.*\n\n" + p.Text.GetCurrent())
|
p.Update("*This page has self-destructed. You cannot return to it.*\n\n" + p.Text.GetCurrent())
|
||||||
p.Erase()
|
p.Erase()
|
||||||
if p.IsPublished {
|
if p.IsPublished {
|
||||||
command = "/read"
|
command = "/read"
|
||||||
|
Loading…
Reference in New Issue
Block a user