aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.js b/src/main.js
index f6ce618..43a5881 100644
--- a/src/main.js
+++ b/src/main.js
@@ -60,7 +60,7 @@ function parseCasualMessage(message) {
}
})
- return currentKey;
+ return currentKey ? casualMessages[currentKey]: null;
}
return casualMessages[parsedMessage];
}