Skip to content

Commit 07ece4e

Browse files
committed
Fix warning text for hooking shared functions.
1 parent 7281f62 commit 07ece4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/modules/HookManager.jsm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ HMS._warnIfAlreadyHooked = function(func, funcName)
145145
if (!HMS.isHooked(func))
146146
return;
147147
Utils.WARN(funcName + " is already hooked. Make sure you don't hook any shared functions " +
148-
"in overlay scripts. Hook them in some shared module, please.");
148+
"in overlay scripts. Shared functions should be hooked in SharedHooks.jsm.");
149149
};
150150

151151
/**

0 commit comments

Comments
 (0)