diff -r adbc41dc9cd0 -r 979f2ccfee5a core/smn_core.cpp --- a/core/smn_core.cpp Mon Oct 15 04:06:57 2007 +0000 +++ b/core/smn_core.cpp Mon Oct 15 04:27:56 2007 +0000 @@ -463,7 +463,17 @@ char *str; pContext->LocalToString(params[1], &str); - return g_PluginSys.LibraryExists(str) ? 1 : 0; + if (g_PluginSys.LibraryExists(str)) + { + return 1; + } + + if (g_Extensions.LibraryExists(str)) + { + return 1; + } + + return 0; } static cell_t sm_LogAction(IPluginContext *pContext, const cell_t *params)