mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
/LOAD ./path/module - loads module from path relative to current
directory instea of trying to find it from ~/.irssi/modules or $PREFIX/lib/modules git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1189 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
45ad955d9e
commit
e06e831608
@ -246,7 +246,8 @@ static GModule *module_open(const char *name)
|
||||
GModule *module;
|
||||
char *path, *str;
|
||||
|
||||
if (g_path_is_absolute(name))
|
||||
if (g_path_is_absolute(name) ||
|
||||
(*name == '.' && name[1] == G_DIR_SEPARATOR))
|
||||
path = g_strdup(name);
|
||||
else {
|
||||
/* first try from home dir */
|
||||
|
Loading…
Reference in New Issue
Block a user