nixpkgs/pkgs/servers/irc/charybdis/remove-setenv.patch

13 lines
352 B
Diff
Raw Normal View History

2015-05-09 19:39:49 +01:00
diff --git a/src/bandbi.c b/src/bandbi.c
index 03dd907..3698e85 100644
--- a/src/bandbi.c
+++ b/src/bandbi.c
@@ -82,7 +82,6 @@ start_bandb(void)
const char *suffix = "";
#endif
- rb_setenv("BANDB_DBPATH", PKGLOCALSTATEDIR "/ban.db", 1);
if(bandb_path == NULL)
{
rb_snprintf(fullpath, sizeof(fullpath), "%s/bandb%s", PKGLIBEXECDIR, suffix);