Ver código fonte

update sql configuration in funwar.tcl

Make the SQL configuration in the funwar.tcl script match the
configuration of the SQL example database created by the
funwar_initdb.sh script.

Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
hwipl 6 anos atrás
pai
commit
21c2cd6739
1 arquivos alterados com 8 adições e 8 exclusões
  1. 8 8
      scripts/funwar.tcl

+ 8 - 8
scripts/funwar.tcl

@@ -23,18 +23,18 @@ namespace eval ::funwar {
 	# channel flag for enabling/disabling
 	setudef flag funwar
 
-	# sql server settings:
-	variable sqlServer "server.ip.add.ress"
-	variable sqlUser "username"
-	variable sqlPassword "password"
+	# sql server address, username and password
+	variable sqlServer "eggdroppostgres"
+	variable sqlUser "eggdrop"
+	variable sqlPassword "eggdropPassword"
 
 	# ET database and table on sql server
-	variable sqlDbnameEt "name of database"
-	variable sqlTblnameEt "name of table"
+	variable sqlDbnameEt "postgres"
+	variable sqlTblnameEt "test.funmatch"
 
 	# RTCW database and table on sql server
-	variable sqlDbnameRtcw "name of database"
-	variable sqlTblnameRtcw "name of table"
+	variable sqlDbnameRtcw "postgres"
+	variable sqlTblnameRtcw "test.funmatch"
 
 	# crontab style definition of how often funwars are posted in channels
 	# format: