]> git.draconx.ca Git - upkg.git/blobdiff - src/uobject/module.c
license: Update copyright notices.
[upkg.git] / src / uobject / module.c
index 1872a8debdd799b37bb0d62a8e3dd0c95923ba13..88748a02f20f0e24eb440519a522fbb9fb8f35e3 100644 (file)
@@ -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;
                }