]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - .inspircd.inc
Fixed weird bug where on mass join/part flood, the channel would be
[user/henk/code/inspircd.git] / .inspircd.inc
index 5900ce9c6f77b50e9c7c265718941cf3d79cdecb..24e280019640aa3932676fe99530bf71a0e08825 100644 (file)
 #               I HATE PERL.. kthxbye
 # ---------------------------------------------------
 
-$ENV{"LD_LIBRARY_PATH"} = $ENV{"LD_LIBRARY_PATH"} . ":/usr/local/lib/mysql:/usr/lib/mysql";
-
 my $conffile = "@CONFIG_DIR@/inspircd.conf";
 my $binpath = "@BINARY_DIR@";
+my $libpath = "@LIBRARY_DIR@";
+
+$ENV{"LD_LIBRARY_PATH"} = $ENV{"LD_LIBRARY_PATH"} . ":/usr/local/lib/mysql:/usr/lib/mysql:$libpath";
 
 # Lets see what they want to do.. Set the variable (Cause i'm a lazy coder)
 my $arg = $ARGV[0];