Permalink
Browse files

StartsWith

  • Loading branch information...
MarioFinale committed Feb 18, 2018
1 parent f3558eb commit 7f918d02808641b12d7dd05e298d1e861c8d6405
Showing with 1 addition and 1 deletion.
  1. +1 −1 GrillitusArchive.vb
View
@@ -298,7 +298,7 @@ Namespace WikiBot
End If
'Verificar si la página de archivado es una subpágina de la raiz
If Not ArchPage.Title.Contains(PageToArchive.RootPage) Then
If Not ArchPage.Title.StartsWith(PageToArchive.RootPage) Then
Log("Archive: The page " & ArchPage.Title & " is not a subpage of " & PageToArchive.RootPage & " aborting.", "LOCAL", BOTName)
End If

0 comments on commit 7f918d0

Please sign in to comment.