diff --git a/livechat.module b/livechat.module
index 283ac2d..f5b9de1 100755
--- a/livechat.module
+++ b/livechat.module
@@ -77,7 +77,7 @@ function livechat_permission() {
 /**
  * Implements hook_preprocess_HOOK().
  */
-function livechat_preprocess_page(&$vars) {
+function livechat_preprocess_html(&$vars) {
   // Don't do anything if LiveChat is not enabled.
   if (!variable_get('livechat_enabled', TRUE)) {
     return;
