]> jfr.im git - irc/rizon/znc.git/commit
Only export a single function from modules
authorUli Schlachter <redacted>
Sat, 11 Jun 2011 16:33:50 +0000 (18:33 +0200)
committerUli Schlachter <redacted>
Sat, 11 Jun 2011 16:33:50 +0000 (18:33 +0200)
commit25ce7de020d5c36fa46d87f0332c8be4bb97198d
treec1fed6631ffe9fe5bb286504fed982aa77036e01
parentca97dca6dc705f216778e71ef76fc0f669bc80ed
Only export a single function from modules

This moves the version check into the function which loads the module info. That
way, we just need a single dlsym() call per module and thus can't get any errors
from the second dlsym() call. And IMHO this feels nicer anyway. ;-)

Signed-off-by: Uli Schlachter <redacted>
Modules.cpp
Modules.h