Fix imports; Use SSL by default

Fix imports to point to github instead of code.google
This commit is contained in:
Chris Sexton 2016-01-17 22:51:11 -05:00
parent d261fcc406
commit 74e981eedf
3 changed files with 8 additions and 5 deletions

View File

@ -10,8 +10,8 @@ import (
"strings" "strings"
"time" "time"
"code.google.com/p/velour/irc"
"github.com/velour/catbase/config" "github.com/velour/catbase/config"
"github.com/velour/velour/irc"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
) )

View File

@ -13,7 +13,7 @@ import (
"strings" "strings"
"time" "time"
"code.google.com/p/velour/irc" "github.com/velour/velour/irc"
) )
// Handles incomming PRIVMSG requests // Handles incomming PRIVMSG requests

View File

@ -9,10 +9,10 @@ import (
"os" "os"
"time" "time"
"code.google.com/p/velour/irc"
"github.com/velour/catbase/bot" "github.com/velour/catbase/bot"
"github.com/velour/catbase/config" "github.com/velour/catbase/config"
"github.com/velour/catbase/plugins" "github.com/velour/catbase/plugins"
"github.com/velour/velour/irc"
) )
const ( const (
@ -45,10 +45,13 @@ func main() {
Config = config.Readconfig(Version, *cfile) Config = config.Readconfig(Version, *cfile)
Client, err = irc.DialServer(Config.Server, Client, err = irc.DialSSL(
Config.Server,
Config.Nick, Config.Nick,
Config.FullName, Config.FullName,
Config.Pass) Config.Pass,
true,
)
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)