diff options
| author | 2006-08-07 20:14:03 +0000 | |
|---|---|---|
| committer | 2006-08-07 20:14:03 +0000 | |
| commit | 7548a18e4c2fa474ec4bd370c483bd991fafaa00 (patch) | |
| tree | 85ba633def366aee0a18eaa61d3f44a1a08ad78d /include | |
| parent | Added some hax :( to prevent invalid symbols. It seems that instead of return... (diff) | |
Change symbol back
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4771 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
| -rw-r--r-- | include/dynamic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dynamic.h b/include/dynamic.h index 98deaf761..937005e11 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -67,7 +67,7 @@ template <class T> class DLLFactory : public DLLFactoryBase public: DLLFactory(const char *fname, const char *func_name=0) : DLLFactoryBase(fname,func_name) { - if (!err && factory_func) + if (factory_func) factory = (T*)factory_func(); else factory = 0; |
