X-Git-Url: http://git.draconx.ca/gitweb/upkg.git/blobdiff_plain/557eccb32013460418b72bb20acd79c018a5e95a..bb9c28745ae254b832805e5d41f2a5e6c3cb8f40:/src/uobject/module.c diff --git a/src/uobject/module.c b/src/uobject/module.c index 1872a8d..88748a0 100644 --- a/src/uobject/module.c +++ b/src/uobject/module.c @@ -1,6 +1,6 @@ /* * upkg: tool for manipulating Unreal Tournament packages. - * Copyright (C) 2009 Nick Bowler + * Copyright © 2009-2011 Nick Bowler * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -84,7 +84,7 @@ GType u_object_module_get_class(const char *package, const char *class) if (!mod) { void **p; - mod = u_pkg_new_by_name(package); + mod = u_pkg_open(package); if (!mod) { return 0; }