mirror of https://github.com/velour/catbase.git
Fix imports; Use SSL by default
Fix imports to point to github instead of code.google
This commit is contained in:
parent
d261fcc406
commit
74e981eedf
|
@ -10,8 +10,8 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"code.google.com/p/velour/irc"
|
||||
"github.com/velour/catbase/config"
|
||||
"github.com/velour/velour/irc"
|
||||
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
)
|
||||
|
|
|
@ -13,7 +13,7 @@ import (
|
|||
"strings"
|
||||
"time"
|
||||
|
||||
"code.google.com/p/velour/irc"
|
||||
"github.com/velour/velour/irc"
|
||||
)
|
||||
|
||||
// Handles incomming PRIVMSG requests
|
||||
|
|
9
main.go
9
main.go
|
@ -9,10 +9,10 @@ import (
|
|||
"os"
|
||||
"time"
|
||||
|
||||
"code.google.com/p/velour/irc"
|
||||
"github.com/velour/catbase/bot"
|
||||
"github.com/velour/catbase/config"
|
||||
"github.com/velour/catbase/plugins"
|
||||
"github.com/velour/velour/irc"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -45,10 +45,13 @@ func main() {
|
|||
|
||||
Config = config.Readconfig(Version, *cfile)
|
||||
|
||||
Client, err = irc.DialServer(Config.Server,
|
||||
Client, err = irc.DialSSL(
|
||||
Config.Server,
|
||||
Config.Nick,
|
||||
Config.FullName,
|
||||
Config.Pass)
|
||||
Config.Pass,
|
||||
true,
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
|
Loading…
Reference in New Issue