diff --git a/lib/bot.js b/lib/bot.js
index <HASH>..<HASH> 100644
--- a/lib/bot.js
+++ b/lib/bot.js
@@ -108,14 +108,22 @@ Bot.prototype = {
 			continueParams = { continue: '' };
 		let titles, pageids = params.pageids;
 		if ( params.titles ) {
-			if ( params.titles.length === 0 ) { delete params.titles; }
-			else { titles = params.titles; }
+			if ( params.titles.length === 0 ) {
+				delete params.titles;
+			}
+			else {
+				titles = params.titles;
+			}
 		}
 		if ( params.pageids ) {
-			if ( params.pageids.length === 0 ) { delete params.pageids; }
+			if ( params.pageids.length === 0 ) {
+				delete params.pageids;
+			}
 			else {
 				pageids = params.pageids;
-				if ( titles ) { delete params.pageids; }
+				if ( titles ) {
+					delete params.pageids;
+				}
 			}
 		}
Work on linting issues.