Skip to content

Commit

Permalink
disable plugin for ios
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowone committed Sep 20, 2012
1 parent 30409b5 commit 0253ca1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/common/plugin.c
Expand Up @@ -51,6 +51,8 @@ typedef struct session xchat_context;
#ifdef __APPLE__
extern char *get_appdir_fs();
extern char *get_plugin_bundle_path(char *filename);
#endif
#ifdef FE_AQUA
extern void aqua_plugin_auto_load(struct session *ps);
#endif

Expand Down Expand Up @@ -469,8 +471,10 @@ plugin_auto_load (session *sess)
#if defined(__hpux)
for_files (XCHATLIBDIR"/plugins", "*.sl", plugin_auto_load_cb);
for_files (get_xdir_fs (), "*.sl", plugin_auto_load_cb);
#elif defined(FE_AQUA) || defined(FE_IOS)
#elif defined(FE_AQUA)
aqua_plugin_auto_load(ps);
#elif defined(FE_IOS)
// no plugin available
#else
for_files (XCHATLIBDIR"/plugins", "*.so", plugin_auto_load_cb);
for_files (get_xdir_fs (), "*.so", plugin_auto_load_cb);
Expand Down

0 comments on commit 0253ca1

Please sign in to comment.